:root {
  --peach-light: #fbe8d6;
  --peach: #f3d1b3;
  --peach-deep: #e9b58e;
  --rose: #c78873;
  --rose-dark: #a86b56;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --cream: #fbf5ec;
  --muted: #6b6b6b;
  --line: rgba(26, 26, 26, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 24px 0;
  background: linear-gradient(180deg, var(--peach-light) 0%, var(--cream) 100%);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.brand .hola {
  color: var(--rose);
  font-style: italic;
  font-weight: 500;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
}

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--peach-light) 0%, var(--peach) 60%, var(--peach-deep) 100%);
  padding: 96px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "✉";
  position: absolute;
  color: rgba(26, 26, 26, 0.08);
  font-size: 48px;
  pointer-events: none;
}

.hero::before {
  top: 20%;
  left: 8%;
  transform: rotate(-12deg);
}

.hero::after {
  bottom: 18%;
  right: 10%;
  transform: rotate(15deg);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1;
}

.wordmark .hola {
  color: var(--rose);
  font-style: italic;
  font-weight: 500;
}

.wordmark .rsvp {
  color: var(--ink);
}

.tagline {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.cta:hover {
  background: var(--rose-dark);
  transform: translateY(-1px);
}

.cta.secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  margin-left: 12px;
}

.cta.secondary:hover {
  background: var(--ink);
  color: var(--cream);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 56px;
}

/* Features */
.features {
  background: var(--cream);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature {
  padding: 32px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--peach-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.feature p {
  color: var(--muted);
  font-size: 15px;
}

/* How it works */
.how {
  background: linear-gradient(180deg, var(--cream) 0%, var(--peach-light) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-num::before {
  content: counter(step);
}

.step h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  margin-bottom: 8px;
}

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

/* Contact */
.contact {
  background: var(--peach-light);
  text-align: center;
}

.contact-email {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--rose);
  padding-bottom: 4px;
  display: inline-block;
  margin-top: 24px;
}

.contact-email:hover {
  color: var(--rose);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 0 32px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .brand {
  color: var(--cream);
}

.site-footer .brand .rsvp {
  color: var(--cream);
}

.footer-links a {
  color: rgba(251, 245, 236, 0.7);
  text-decoration: none;
  margin-left: 24px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-copy {
  width: 100%;
  text-align: center;
  color: rgba(251, 245, 236, 0.5);
  font-size: 13px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 245, 236, 0.1);
}

/* Legal pages */
.legal {
  padding: 64px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 48px);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  margin: 40px 0 12px;
  color: var(--ink);
}

.legal p,
.legal li {
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal a {
  color: var(--rose-dark);
}

/* Responsive */
@media (max-width: 640px) {
  .site-header .container {
    flex-direction: column;
    gap: 12px;
  }
  .nav a {
    margin: 0 12px;
  }
  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
  .footer-links a {
    margin: 0 12px;
  }
  .cta.secondary {
    margin-left: 0;
    margin-top: 12px;
  }
}
