:root {
  --orange: #ff5a1f;
  --orange-dark: #e6440d;
  --orange-soft: #fff0e8;
  --ink: #201a17;
  --muted: #746964;
  --cream: #fffaf5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--cream);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 10%, rgba(255, 90, 31, 0.09) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 78%, rgba(255, 90, 31, 0.09) 0 2px, transparent 3px),
    var(--cream);
  background-size: 34px 34px, 42px 42px, auto;
  font-family: "DM Sans", sans-serif;
}

.page-shell {
  display: flex;
  width: min(100% - 40px, 1200px);
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: column;
}

.topbar {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font: 800 1.25rem/1 "Manrope", sans-serif;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px 13px 13px 4px;
  background: var(--orange);
  box-shadow: 0 9px 20px rgba(255, 90, 31, 0.25);
  transform: rotate(-5deg);
}

.brand-mark::before,
.brand-mark::after,
.brand-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.brand-mark::before {
  width: 5px;
  height: 5px;
  left: 9px;
  top: 11px;
}

.brand-mark::after {
  width: 5px;
  height: 5px;
  right: 9px;
  top: 11px;
}

.brand-dot {
  width: 14px;
  height: 7px;
  bottom: 9px;
  border-radius: 0 0 20px 20px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(32, 26, 23, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34b467;
  box-shadow: 0 0 0 4px rgba(52, 180, 103, 0.13);
  animation: pulse 2s ease-in-out infinite;
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  padding: 48px 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 24px;
  align-items: center;
  gap: 9px;
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--orange);
  content: "";
}

h1 {
  max-width: 700px;
  margin: 0;
  font: 800 clamp(3.1rem, 6.3vw, 6.35rem)/0.97 "Manrope", sans-serif;
  letter-spacing: -0.075em;
}

h1 em {
  color: var(--orange);
  font-style: normal;
}

.intro {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.17rem);
  line-height: 1.72;
}

.progress {
  display: flex;
  max-width: 420px;
  margin-top: 38px;
  align-items: center;
  gap: 14px;
}

.progress-track {
  height: 8px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: #eadfd8;
}

.progress-fill {
  display: block;
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), #ff8c3a);
  animation: loading 2.7s ease-in-out infinite alternate;
}

.progress-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.visual {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 1;
  justify-self: center;
}

.visual::before {
  position: absolute;
  inset: 7%;
  border-radius: 42% 58% 60% 40% / 53% 39% 61% 47%;
  background: linear-gradient(145deg, #ff6d2f, #ff4c14);
  box-shadow: 0 45px 90px rgba(222, 65, 12, 0.25);
  content: "";
  animation: morph 10s ease-in-out infinite alternate;
}

.visual::after {
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  content: "";
}

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.orbit-one {
  inset: 11%;
  transform: rotate(17deg);
}

.orbit-two {
  inset: 24%;
  transform: rotate(-27deg);
}

.food-card {
  position: absolute;
  z-index: 3;
  inset: 22% 23% 17%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 55px rgba(111, 34, 6, 0.2);
  transform: rotate(3deg);
  backdrop-filter: blur(12px);
}

.bag {
  position: relative;
  width: 48%;
  height: 56%;
  margin-bottom: 14%;
  border-radius: 8px 8px 22px 22px;
  background: linear-gradient(150deg, #ffb05f, #ff7a2d);
  box-shadow: inset -13px -10px 25px rgba(170, 47, 0, 0.13), 0 22px 30px rgba(96, 39, 13, 0.15);
}

.bag::before,
.bag::after {
  position: absolute;
  top: -20%;
  width: 22%;
  height: 35%;
  border-radius: 50% 50% 10% 10%;
  background: #84b842;
  content: "";
}

.bag::before {
  left: 18%;
  transform: rotate(-17deg);
}

.bag::after {
  right: 15%;
  transform: rotate(19deg);
}

.bag-handle {
  position: absolute;
  z-index: 1;
  top: -12%;
  left: 26%;
  width: 48%;
  height: 24%;
  border: 6px solid #dc5717;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
}

.bag-logo {
  position: absolute;
  left: 50%;
  bottom: 15%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px 16px 16px 5px;
  background: var(--white);
  color: var(--orange);
  font: 800 1.45rem/1 "Manrope", sans-serif;
  transform: translateX(-50%) rotate(-4deg);
}

.bag-face {
  position: absolute;
  left: 50%;
  top: 27%;
  display: flex;
  gap: 26px;
  transform: translateX(-50%);
}

.smile-eye {
  width: 5px;
  height: 7px;
  border-radius: 50%;
  background: #783314;
}

.smile {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 19px;
  height: 10px;
  border-bottom: 3px solid #783314;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
}

.steam {
  position: absolute;
  top: 14%;
  width: 7px;
  height: 26px;
  border-radius: 50%;
  border-left: 3px solid rgba(255, 90, 31, 0.38);
  animation: steam 2s ease-in-out infinite;
}

.steam-one { left: 40%; }
.steam-two { left: 51%; animation-delay: 0.4s; }
.steam-three { left: 62%; animation-delay: 0.8s; }

.mini-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(32, 26, 23, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 14px 34px rgba(92, 37, 14, 0.14);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  animation: float 4s ease-in-out infinite;
}

.card-pizza {
  top: 17%;
  left: -1%;
  transform: rotate(-6deg);
}

.card-time {
  right: -1%;
  bottom: 17%;
  transform: rotate(4deg);
  animation-delay: -2s;
}

.emoji {
  font-size: 1.3rem;
}

.clock {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #e7f7eb;
  color: #2e9d58;
  font-size: 0.85rem;
}

.spark {
  position: absolute;
  z-index: 4;
  color: #ffb347;
  font-size: 1.5rem;
  animation: twinkle 2.6s ease-in-out infinite;
}

.spark-one { top: 7%; right: 20%; }
.spark-two { right: 3%; top: 41%; animation-delay: -0.8s; }
.spark-three { bottom: 4%; left: 23%; animation-delay: -1.7s; }

footer {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(32, 26, 23, 0.08);
  color: #948781;
  font-size: 0.76rem;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(52, 180, 103, 0); }
}

@keyframes loading {
  from { width: 64%; }
  to { width: 82%; }
}

@keyframes morph {
  from { border-radius: 42% 58% 60% 40% / 53% 39% 61% 47%; transform: rotate(-2deg); }
  to { border-radius: 57% 43% 39% 61% / 42% 57% 43% 58%; transform: rotate(2deg); }
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.55; transform: scale(0.8) rotate(0); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

@keyframes steam {
  0% { opacity: 0; transform: translateY(8px) scale(0.8); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10px) scale(1.1); }
}

@media (max-width: 850px) {
  .page-shell { width: min(100% - 32px, 680px); }
  .topbar { min-height: 80px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 50px 0 58px;
    text-align: center;
  }
  .hero-copy { display: flex; align-items: center; flex-direction: column; }
  .eyebrow { margin-bottom: 20px; }
  h1 { font-size: clamp(2.75rem, 12vw, 5.2rem); }
  .intro { max-width: 540px; margin-top: 24px; }
  .progress { width: min(100%, 390px); margin-top: 30px; }
  .visual { width: min(100%, 430px); order: 2; }
}

@media (max-width: 500px) {
  .page-shell { width: min(100% - 24px, 440px); }
  .status { padding: 8px 11px; font-size: 0.72rem; }
  .hero { padding-top: 35px; }
  h1 { letter-spacing: -0.065em; }
  .intro { font-size: 0.98rem; line-height: 1.62; }
  .visual { width: 96%; }
  .mini-card { padding: 9px 11px; font-size: 0.67rem; }
  .card-pizza { left: -2%; }
  .card-time { right: -2%; }
  footer { flex-direction: column; justify-content: center; gap: 5px; padding: 18px 0; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
