@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

:root {
  --bg: #fbf3e4;
  --surface: #fffaf1;
  --ink: #3b2a1e;
  --ink-soft: #7a6553;
  --accent: #c0392b;
  --leaf: #4e8a3e;
  --tea: #b5651d;
  --coin: #e0a100;
  --line: #e8d7c0;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  background:
    radial-gradient(ellipse at top, #fff8ea 0%, transparent 55%),
    linear-gradient(180deg, #f7e8cf 0%, var(--bg) 40%, #f3e2c8 100%);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--leaf); }
header, main, footer {
  width: min(760px, 100% - 2rem);
  margin-inline: auto;
}

.hero {
  position: relative;
  margin: 1rem 0 1.25rem;
  border-radius: 28px;
  overflow: hidden;
  min-height: 320px;
  background: #1a120c center/cover no-repeat;
  box-shadow: 0 18px 40px rgba(59, 42, 30, 0.18);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, 0.15) 0%, rgba(20, 12, 8, 0.72) 72%, rgba(20, 12, 8, 0.88) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 1.4rem 1.2rem 0;
  display: grid;
  gap: 0.35rem;
}
.hero-brand {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 7vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff8ea;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero-lead {
  margin: 0;
  max-width: 22rem;
  color: rgba(255, 248, 234, 0.9);
  font-size: 1rem;
  font-weight: 500;
}
.hero-cast {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.15rem;
  margin-top: 0.4rem;
  padding: 0 0.4rem;
  min-height: 210px;
}
.hero-cast img {
  width: clamp(96px, 28vw, 150px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
  transform-origin: bottom center;
  animation: floaty 4.8s ease-in-out infinite;
}
.hero-cast img:nth-child(1) { animation-delay: 0s; z-index: 2; }
.hero-cast img:nth-child(2) {
  width: clamp(120px, 34vw, 178px);
  animation-delay: 0.4s;
  z-index: 3;
}
.hero-cast img:nth-child(3) { animation-delay: 0.8s; z-index: 2; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
  margin: 0 0 0.9rem;
}
.card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-family: "Source Serif 4", Georgia, serif;
}
.card .desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.product {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.9rem;
  align-items: center;
}
.product-face {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  object-position: top center;
  background: #1a120c;
  border: 1px solid var(--line);
}
.price {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.price strong {
  font-size: 1.25rem;
  color: var(--tea);
}
button, .btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-weight: 800;
  font-family: inherit;
  padding: 0.7rem 1.15rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.form-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 700;
}
input[type="text"],
input[type="email"] {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.note {
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.banner {
  background: #fff4d8;
  border: 1px solid #efd59a;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.banner.ok { background: #e8f6e4; border-color: #b7dfad; }
.banner.err { background: #fdecea; border-color: #f0b9b2; }
footer {
  padding: 2rem 0 3rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.legal main { padding-bottom: 3rem; }
.legal h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.5rem;
}
.legal h2 { font-size: 1.05rem; margin-top: 1.5rem; }
