:root {
  --bg: #fff8f3;
  --paper: #ffffff;
  --ink: #1c1612;
  --muted: #6a5e55;
  --accent: #e24a2f;
  --peach: #ffd8c8;
  --mint: #c8f0e0;
  --lemon: #ffe9ad;
  --line: rgba(28, 22, 18, 0.1);
  --shadow: 0 16px 40px rgba(90, 40, 20, 0.1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 85% 8%, #ffd7c6 0%, transparent 32%),
    radial-gradient(circle at 8% 88%, #c9f3e4 0%, transparent 30%),
    radial-gradient(circle at 50% 45%, #fff3c9 0%, transparent 26%),
    var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  isolation: isolate;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
}

.glow-peach {
  width: 34vw;
  height: 34vw;
  top: -10vw;
  right: -8vw;
  background: #ffc3ac;
  opacity: 0.7;
  animation: drift 16s ease-in-out infinite;
}

.glow-mint {
  width: 30vw;
  height: 30vw;
  bottom: -12vw;
  left: -10vw;
  background: #b6ead8;
  opacity: 0.65;
  animation: drift 20s ease-in-out infinite reverse;
}

.glow-lemon {
  width: 20vw;
  height: 20vw;
  top: 40%;
  left: 40%;
  background: #ffe7a3;
  opacity: 0.45;
  animation: pulse-orb 9s ease-in-out infinite;
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(226, 74, 47, 0.12) 0%, transparent 68%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

body:hover .cursor-glow {
  opacity: 1;
}

.top,
.stage,
.foot {
  position: relative;
  z-index: 2;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 6vw 0;
  animation: fade-down 0.8s ease both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 14px rgba(226, 74, 47, 0.16));
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(80, 40, 20, 0.06);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 1.8s ease-out infinite;
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.6rem 6vw 1.4rem;
}

.scene {
  position: relative;
  width: min(420px, 92vw);
  height: 280px;
  margin: 0.4rem auto 0.4rem;
  animation: fade-up 0.9s ease both;
}

.blob {
  position: absolute;
  inset: 18px 28px 10px;
  border-radius: 46% 54% 48% 52%;
  background: linear-gradient(180deg, #fff 0%, #ffe1d2 70%, #ffe9b5 100%);
  box-shadow: var(--shadow);
  animation: morph 10s ease-in-out infinite;
}

.bag-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.bag-svg {
  width: 118px;
  overflow: visible;
  filter: drop-shadow(0 12px 18px rgba(226, 74, 47, 0.18));
  animation: bag-bob 3.4s ease-in-out infinite;
}

.bag-body {
  fill: #fff7f3;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linejoin: round;
}

.bag-handle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: round;
}

.bag-fold {
  stroke: #ff9d86;
  stroke-width: 4;
  stroke-linecap: round;
}

.spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(226, 74, 47, 0.12);
}

.s1 { top: 22%; right: 28%; animation: spark 2.4s ease-in-out infinite; }
.s2 { bottom: 24%; left: 30%; width: 8px; height: 8px; animation: spark 3s 0.4s ease-in-out infinite; }
.s3 { top: 48%; right: 24%; width: 7px; height: 7px; animation: spark 2.2s 0.8s ease-in-out infinite; }

.card {
  position: absolute;
  width: 132px;
  padding: 0.75rem 0.85rem;
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.1rem;
  text-align: left;
}

.card b {
  font-size: 0.88rem;
}

.card small {
  color: var(--muted);
  font-size: 0.75rem;
}

.swatch {
  width: 26px;
  height: 7px;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.peach { background: #ff8f73; }
.mint { background: #4ec9a4; }
.lemon { background: #efc04a; }

.c1 { top: 8px; left: 0; animation: float 5s ease-in-out infinite; }
.c2 { top: 18px; right: 0; animation: float 6s 0.3s ease-in-out infinite; }
.c3 { bottom: 6px; left: 18%; animation: float 5.4s 0.5s ease-in-out infinite; }

.copy {
  max-width: 38rem;
  animation: fade-up 0.9s 0.12s ease both;
}

.kicker {
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 0.8rem;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.sub {
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 500;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin-top: 1.15rem;
}

.chips li {
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  box-shadow: 0 6px 14px rgba(80, 40, 20, 0.05);
}

.progress {
  margin: 1.3rem auto 0;
  max-width: 22rem;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(28, 22, 18, 0.08);
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.progress-bar {
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8a6a, var(--accent));
  animation: load 2.8s ease-in-out infinite;
}

.progress span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.4rem 6vw 1.3rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.foot a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5%, 7%) scale(1.08); }
}

@keyframes pulse-orb {
  0%, 100% { transform: scale(1); opacity: 0.32; }
  50% { transform: scale(1.18); opacity: 0.5; }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(226, 74, 47, 0.5); }
  100% { box-shadow: 0 0 0 12px rgba(226, 74, 47, 0); }
}

@keyframes bag-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes spark {
  0%, 100% { transform: scale(0.7); opacity: 0.45; }
  50% { transform: scale(1.25); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes morph {
  0%, 100% { border-radius: 46% 54% 48% 52%; }
  50% { border-radius: 56% 44% 54% 46%; }
}

@keyframes load {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(250%); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .top,
  .stage,
  .foot {
    padding-inline: 1.15rem;
  }

  .scene {
    height: 250px;
  }

  .card {
    width: 118px;
    padding: 0.65rem 0.7rem;
  }

  .c3 {
    left: 8%;
  }

  h1 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
