:root {
  --cream: #f6efe4;
  --paper: #fff8ef;
  --ink: #2b1a16;
  --muted: #6b5348;
  --wine: #8c2f3b;
  --wine-deep: #6d1f2c;
  --gold: #c9a26a;
  --gold-soft: #e7d3ae;
  --shadow: 0 24px 60px rgba(43, 26, 22, 0.16);
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.logo,
.eyebrow {
  font-family: Fraunces, Georgia, serif;
}

img {
  max-width: 100%;
  display: block;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-a {
  width: 420px;
  height: 420px;
  background: rgba(201, 162, 106, 0.28);
  top: -80px;
  right: -40px;
}

.glow-b {
  width: 380px;
  height: 380px;
  background: rgba(140, 47, 59, 0.12);
  bottom: 10%;
  left: -80px;
}

#sparkles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.nav,
main,
.footer {
  position: relative;
  z-index: 2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 7vw;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-mark {
  color: var(--wine);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wine);
  color: #fffaf4;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(140, 47, 59, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--wine-deep);
  transform: translateY(-1px);
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.92rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid rgba(43, 26, 22, 0.16);
}

.btn-ghost:hover {
  background: rgba(255, 248, 239, 0.7);
}

.btn:disabled {
  cursor: default;
  transform: none;
  opacity: 0.88;
}

.hero {
  text-align: center;
  padding: 48px 7vw 20px;
}

.eyebrow {
  color: var(--wine);
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.collage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  max-width: 860px;
  margin: 64px auto 0;
  min-height: 320px;
}

.polaroid {
  position: relative;
  width: min(240px, 30vw);
  background: var(--paper);
  padding: 12px 12px 36px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.polaroid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #e8dccb;
}

.polaroid figcaption {
  margin-top: 12px;
  font-family: Fraunces, serif;
  font-style: italic;
  font-size: 0.95rem;
}

.polaroid:first-child {
  z-index: 1;
  margin-right: -28px;
  margin-bottom: 18px;
}

.polaroid-mid {
  z-index: 3;
  margin-bottom: 36px;
}

.polaroid-late {
  z-index: 2;
  margin-left: -28px;
  margin-bottom: 8px;
}

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

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

.strip {
  margin: 20px 7vw 0;
  padding: 16px 24px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(43, 26, 22, 0.08);
  border-bottom: 1px solid rgba(43, 26, 22, 0.08);
  letter-spacing: 0.04em;
}

.section {
  padding: 88px 7vw 0;
  scroll-margin-top: 24px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
}

.steps li,
.feature-grid article,
.gallery-card,
.cta {
  background: rgba(255, 248, 239, 0.72);
  border: 1px solid rgba(43, 26, 22, 0.06);
  border-radius: var(--radius);
  padding: 28px;
}

.step-num {
  display: block;
  color: var(--gold);
  font-family: Fraunces, serif;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.35rem;
  font-weight: 560;
  margin-bottom: 10px;
}

.steps p,
.feature-grid p,
.gallery-card p {
  color: var(--muted);
}

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

.gallery-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  padding: 0;
  overflow: hidden;
}

.gallery-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.gallery-card div {
  padding: 22px;
}

.tag {
  color: var(--wine);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  font-family: Outfit, sans-serif;
}

.cta {
  margin: 88px 7vw 0;
  text-align: center;
  padding: 64px 24px;
  background:
    radial-gradient(circle at top right, rgba(201, 162, 106, 0.28), transparent 40%),
    var(--paper);
}

.cta p {
  max-width: 460px;
  margin: 12px auto 0;
  color: var(--muted);
}

.signup {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.signup input {
  width: min(320px, 100%);
  border: 1px solid rgba(43, 26, 22, 0.14);
  background: #fff;
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  color: var(--ink);
}

.signup input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.fine {
  font-size: 0.85rem;
  margin-top: 14px !important;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 48px 7vw 40px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .steps,
  .feature-grid,
  .gallery-cards {
    grid-template-columns: 1fr;
  }

  .collage {
    height: auto;
    display: grid;
    gap: 16px;
    justify-items: center;
  }

  .polaroid,
  .polaroid-mid,
  .polaroid-late,
  .polaroid:first-child {
    position: static;
    transform: none;
    width: min(260px, 78vw);
    margin: 0;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}
