:root {
  --cream: #fbf1e4;
  --cream-dark: #f3e5d1;
  --mushroom: #6b5744;
  --mushroom-dark: #4a3b2c;
  --mushroom-30: rgba(107, 87, 68, 0.3);
  --mushroom-10: rgba(107, 87, 68, 0.08);
  --terracotta: #d2571f;
  --terracotta-dark: #a84313;
  --mustard: #e8a93d;
  --ink: #2b1d12;
  --muted: #7a6a58;
  --line: #e5d5bf;

  --font-display: "Fredoka", -apple-system, sans-serif;
  --font-body: "DM Sans", -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, h3, .logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.container-narrow {
  max-width: 720px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  padding: 16px 30px;
  font-size: 17px;
  box-shadow: 0 6px 0 var(--terracotta-dark);
}

.btn-primary:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--terracotta-dark);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
  background: var(--mushroom);
  color: var(--cream);
}

.btn-small:hover {
  background: var(--mushroom-dark);
}

/* Blobs */

.blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.blob-hero {
  width: 480px;
  height: 480px;
  top: -160px;
  right: -160px;
  background: radial-gradient(circle at 30% 30%, var(--mustard), transparent 70%);
  opacity: 0.35;
}

.blob-problem {
  width: 360px;
  height: 360px;
  top: -80px;
  left: -140px;
  background: radial-gradient(circle at 50% 50%, var(--terracotta), transparent 70%);
  opacity: 0.18;
}

.blob-waitlist {
  width: 420px;
  height: 420px;
  bottom: -200px;
  right: -120px;
  background: radial-gradient(circle at 50% 50%, var(--mustard), transparent 70%);
  opacity: 0.25;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 241, 228, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-size: 22px;
  color: var(--terracotta-dark);
  text-decoration: none;
}

/* Hero */

.hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(210, 87, 31, 0.12);
  color: var(--terracotta-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.02;
  margin: 0 0 20px;
  color: var(--ink);
  transform: rotate(-1.5deg);
  transform-origin: left;
}

.subhead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 460px;
  margin: 0 0 32px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.mug-card {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  background: var(--cream-dark);
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(3deg);
  box-shadow: 0 20px 40px -20px rgba(43, 29, 18, 0.35);
}

.hero-product-shot {
  width: 68%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
    margin-bottom: 12px;
  }

  .subhead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    transform: none;
  }
}

/* Problem */

.problem {
  position: relative;
  background: var(--mushroom);
  color: var(--cream);
  overflow: hidden;
}

.problem-inner {
  padding: 72px 0;
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.problem h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 20px;
}

.problem p {
  font-size: 17px;
  color: rgba(251, 241, 228, 0.85);
  margin: 0;
}

/* Section title */

.section-title {
  font-size: clamp(28px, 3.5vw, 38px);
  margin: 0 0 48px;
}

.center {
  text-align: center;
}

/* How it works */

.how {
  padding: 88px 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.step {
  flex: 1;
  max-width: 220px;
  text-align: center;
  position: relative;
}

.step-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -12px rgba(43, 29, 18, 0.3);
}

.step-icon svg {
  width: 46px;
  height: 46px;
}

.step-product-shot {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.step-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 6px;
}

.step h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.step-connector {
  width: 80px;
  padding-top: 34px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .step-connector {
    display: none;
  }
}

/* Why Wammug */

.why {
  padding: 40px 0 96px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 14px 30px -18px rgba(43, 29, 18, 0.25);
  transition: transform 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
}

.tilt-1 {
  transform: rotate(-2deg);
}

.tilt-2 {
  transform: rotate(2deg);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.why-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.why-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .tilt-1, .tilt-2 {
    transform: none;
  }
}

/* FAQ */

.faq {
  padding: 88px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--terracotta);
  margin-left: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* Waitlist */

.waitlist {
  position: relative;
  background: var(--terracotta);
  color: var(--cream);
  overflow: hidden;
}

.waitlist-inner {
  padding: 96px 0;
  max-width: 560px;
  text-align: center;
  margin: 0 auto;
  z-index: 1;
}

.waitlist-product-shot {
  width: 84px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  transform: rotate(-4deg);
}

.waitlist h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 16px;
}

.waitlist > .container > p {
  font-size: 17px;
  color: rgba(251, 241, 228, 0.9);
  margin: 0 0 36px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 15px 18px;
  border-radius: 999px;
  border: none;
  background: var(--cream);
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--ink);
  outline: none;
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--muted);
}

.waitlist .btn-primary {
  background: var(--mushroom-dark);
  box-shadow: 0 6px 0 #2f2519;
}

.waitlist .btn-primary:hover {
  box-shadow: 0 4px 0 #2f2519;
}

.form-message {
  min-height: 20px;
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.form-message.success {
  color: var(--cream);
}

.form-message.error {
  color: #ffd9c7;
}

@media (max-width: 480px) {
  .waitlist-form {
    flex-direction: column;
  }
}

/* Footer */

.footer {
  padding: 32px 0;
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
