:root {
  --dough-accent: #5c4033;
  --dough-accent-dark: #472e24;
  --dough-cream: #faf5eb;
  --dough-beige: #ede0cc;
  --dough-warm-white: #fcf7f0;
  --dough-text: #38291f;
  --dough-text-secondary: #736152;
  --dough-gold: #cc9e4d;
  --dough-gold-soft: #e6d1aa;
  --dough-line: #d9c5a7;
  --shadow: 0 24px 42px rgba(27, 18, 13, 0.14);
  --font-head: "New York", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --font-body: "SF Pro Rounded", "SF Pro Text", "Avenir Next", "Nunito Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dough-text);
  background:
    radial-gradient(1200px 560px at 0% 0%, rgba(204, 158, 77, 0.4), transparent 70%),
    radial-gradient(900px 500px at 100% -5%, rgba(92, 64, 51, 0.24), transparent 65%),
    linear-gradient(140deg, #3b2a1f 0%, #5b4030 100%);
  min-height: 100vh;
}

.site-shell {
  width: min(1120px, calc(100% - 34px));
  margin: 22px auto 44px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(246, 229, 194, 0.26);
  border-radius: 14px;
  background: rgba(35, 24, 17, 0.46);
  backdrop-filter: blur(6px);
}

.brand {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8e7c8;
  text-decoration: none;
}

.topnav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.topnav a {
  color: #f7e7ca;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.hero {
  margin-top: 18px;
  padding: clamp(18px, 4vw, 34px);
  border-radius: 24px;
  border: 1px solid var(--dough-line);
  background:
    radial-gradient(400px 260px at 84% 0%, rgba(204, 158, 77, 0.24), transparent 60%),
    linear-gradient(140deg, var(--dough-cream), #f5eddd);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 20px;
  align-items: center;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #7a5a3d;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  max-width: 15ch;
}

.lede {
  margin: 16px 0 0;
  max-width: 56ch;
  color: var(--dough-text-secondary);
  line-height: 1.6;
}

.actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--dough-line);
  color: var(--dough-accent-dark);
  background: var(--dough-warm-white);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.93rem;
  padding: 10px 16px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(71, 46, 36, 0.22);
}

.btn-primary {
  background: linear-gradient(140deg, var(--dough-gold), #bb8c39);
  border-color: #b68737;
  color: #2f2015;
}

.quick-stats {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quick-stats li {
  background: rgba(252, 247, 240, 0.9);
  border: 1px solid var(--dough-line);
  border-radius: 12px;
  padding: 10px;
}

.quick-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.98rem;
}

.quick-stats span {
  color: var(--dough-text-secondary);
  font-size: 0.83rem;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: visible;
}

.hero-store-link {
  position: absolute;
  right: 10px;
  top: 14px;
  z-index: 2;
  display: block;
  text-decoration: none;
}

.phone-shell {
  position: relative;
  width: clamp(220px, 31vw, 320px);
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  background:
    radial-gradient(120% 120% at 50% 8%, rgba(205, 158, 77, 0.24), rgba(22, 23, 30, 0) 45%),
    linear-gradient(180deg, #1f2431 0%, #11151d 100%);
  border: 2px solid #3f4659;
  box-shadow: 0 26px 40px rgba(27, 18, 13, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: rotateZ(2deg);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.hero-store-link:hover .phone-shell {
  transform: rotateZ(2deg) translateY(-4px);
  box-shadow: 0 30px 48px rgba(27, 18, 13, 0.34);
}

.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  border-radius: 999px;
  background: #07090d;
}

.phone-time {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 0.75rem;
  color: #eef3ff;
  letter-spacing: 0.01em;
}

.phone-icons {
  position: absolute;
  top: 54px;
  left: 16px;
  right: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.app-icon {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: rgba(170, 184, 216, 0.16);
  border: 1px solid rgba(206, 215, 238, 0.24);
}

.app-icon-main {
  position: relative;
  background: linear-gradient(145deg, rgba(250, 245, 235, 0.98), rgba(237, 224, 204, 0.98));
  border-color: rgba(217, 197, 167, 0.9);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
  animation: icon-breathe 2.8s ease-in-out infinite;
}

.app-icon-main img {
  width: 74%;
  height: 74%;
  object-fit: contain;
  border-radius: 12px;
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
}

.app-icon-main span {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  width: 84px;
  text-align: center;
  font-size: 0.62rem;
  color: #d7dff1;
  font-weight: 600;
  pointer-events: none;
}

.app-icon-photo {
  overflow: hidden;
}

.app-icon-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-dock {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 20px;
  height: 66px;
  border-radius: 20px;
  background: rgba(225, 236, 255, 0.14);
  border: 1px solid rgba(225, 236, 255, 0.18);
}

.dock-pill {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: rgba(228, 235, 252, 0.5);
}

.chip {
  position: absolute;
  right: -10px;
  bottom: 16px;
  z-index: 4;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--dough-accent-dark);
  color: #f5ddaf;
  border: 1px solid rgba(230, 209, 170, 0.36);
  font-weight: 700;
  font-size: 0.75rem;
}

@keyframes icon-breathe {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.34);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
  }
}

.feature-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-card {
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(145deg, var(--dough-warm-white), var(--dough-beige));
  border: 1px solid var(--dough-line);
  box-shadow: 0 14px 24px rgba(27, 18, 13, 0.12);
}

.feature-card h2 {
  font-size: clamp(1.24rem, 2.8vw, 1.6rem);
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--dough-text-secondary);
  line-height: 1.6;
}

.bake-strip {
  margin-top: 20px;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(230, 209, 170, 0.34);
  background: rgba(255, 248, 236, 0.92);
}

.bake-strip .section-head h2 {
  margin-top: 8px;
  color: var(--dough-text);
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
}

.bake-strip .section-head .eyebrow {
  color: #7a5a3d;
}

.bake-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.bake-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(217, 197, 167, 0.9);
  background: #fff;
}

.bake-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.bake-card figcaption {
  padding: 8px;
  font-size: 0.78rem;
  color: var(--dough-text-secondary);
  font-weight: 700;
}

.showcase {
  margin-top: 20px;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(230, 209, 170, 0.34);
  background: rgba(49, 33, 24, 0.56);
}

.section-head h2 {
  margin-top: 8px;
  color: #f8ead0;
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
}

.section-head .eyebrow {
  color: #d6ad69;
}

.shots-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shot-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(230, 209, 170, 0.36);
  background: rgba(28, 20, 14, 0.7);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.shot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(5, 3, 2, 0.38);
}

.shot-card img {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 19;
  object-fit: cover;
}

.shot-card figcaption {
  color: #f6ddb0;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 10px 12px;
}

.release-note {
  margin-top: 20px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #dab670;
  background: linear-gradient(140deg, #d4a65b, var(--dough-gold));
  color: #2f2014;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.release-note p {
  margin: 10px 0 0;
  color: rgba(47, 32, 20, 0.82);
}

.release-note .eyebrow {
  color: #5f4328;
}

.release-note .btn {
  background: var(--dough-accent-dark);
  border-color: var(--dough-accent-dark);
  color: #f6ddb0;
}

.bottom-links {
  margin-top: 16px;
  padding: 6px 2px 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bottom-links a {
  color: #f3d9a8;
  font-weight: 700;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 620ms ease-out forwards;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 220ms;
}

.delay-3 {
  animation-delay: 320ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 400px;
  }

  .feature-grid,
  .bake-grid,
  .shots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .release-note {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(1120px, calc(100% - 22px));
    margin-top: 12px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 16px;
    border-radius: 18px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-store-link {
    right: 0;
    top: 8px;
  }

  .phone-shell {
    width: clamp(190px, 54vw, 250px);
    border-radius: 34px;
  }

  .feature-grid,
  .bake-grid,
  .shots-grid {
    grid-template-columns: 1fr;
  }
}
