:root {
  --ivory: #f7f3ea;
  --card: #fffdf8;
  --charcoal: #2b2b28;
  --charcoal-soft: #55524a;
  --gold: #b8985a;
  --gold-line: rgba(184, 152, 90, 0.35);
  --max-width: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ivory);
  border-bottom: 1px solid var(--gold-line);
}

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

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 28px; height: 28px; }
.wordmark { font-size: 1.15rem; letter-spacing: 0.14em; text-transform: uppercase; }

.nav-links { display: flex; gap: 28px; font-size: 0.9rem; letter-spacing: 0.03em; }
.nav-links .tab-btn {
  background: none;
  border: none;
  padding: 4px 0;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: inherit;
  cursor: pointer;
  opacity: 0.75;
  border-bottom: 1px solid transparent;
  transition: opacity 0.15s, border-color 0.15s;
}
.nav-links .tab-btn:hover { opacity: 1; }
.nav-links .tab-btn.active { opacity: 1; border-bottom-color: var(--gold); }

/* hero */
.hero {
  padding: 90px 24px 70px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 720px;
  margin: 0 auto 18px;
}

.hero p {
  color: var(--charcoal-soft);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); background: #1c1c1a; }

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--gold-line);
}

/* section headings */
.section-head {
  text-align: center;
  margin-bottom: 44px;
}
.section-head h2 { font-size: 1.9rem; margin-bottom: 10px; }
.section-head p { color: var(--charcoal-soft); }

section { padding: 70px 0; }

/* theme grid */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.theme-card {
  background: var(--card);
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.theme-card .swatch {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8e0cf, #cfc4a8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-card h3 { font-size: 1.3rem; }
.theme-card .desc { color: var(--charcoal-soft); font-size: 0.92rem; flex-grow: 1; }

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.collection-pay {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 200px;
}

@media (max-width: 720px) {
  .collection-pay { align-items: stretch; width: 100%; }
}

/* checkout */
.checkout-panel {
  background: var(--card);
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
}
.checkout-empty { color: var(--charcoal-soft); text-align: center; }
.checkout-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  font-family: "Bodoni Moda", serif;
  font-size: 1.15rem;
}
#payment-panel { min-height: 45px; color: var(--charcoal-soft); font-size: 0.9rem; }

.price {
  font-size: 1.1rem;
  font-weight: 600;
}
.price .was {
  text-decoration: line-through;
  color: var(--charcoal-soft);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 6px;
}

.collection-band {
  background: var(--charcoal);
  color: var(--ivory);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.collection-band h3 { color: var(--ivory); font-size: 1.5rem; }
.collection-band p { color: #cfc9bb; margin-top: 6px; max-width: 420px; }
.collection-band .price { color: var(--gold); font-size: 1.4rem; }

/* how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}
.step .num {
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-family: "Bodoni Moda", serif;
}
.step h4 { margin-bottom: 6px; font-size: 1rem; }
.step p { color: var(--charcoal-soft); font-size: 0.9rem; }

footer {
  border-top: 1px solid var(--gold-line);
  padding: 32px 24px calc(32px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--charcoal-soft);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 12px; font-size: 0.78rem; }
  .theme-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .collection-band { flex-direction: column; text-align: center; }
  .hero { padding: 56px 24px 44px; }
  section { padding: 48px 0; }
}
