/* WeddingBooth site — mirrors the app's Theme.swift palette. */
:root {
  --ivory: #FBF7F1;
  --paper: #FFFDFC;
  --blush: #EDD9D3;
  --divider: #E8DDD2;
  --ink: #1F1B16;
  --muted: #6B5F52;
  --burgundy: #6E2D3A;
  --burgundy-dark: #511F2A;
  --gold: #B89360;
  --shadow: 0 10px 28px rgba(42, 28, 20, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: linear-gradient(135deg, #FCF8F2, #F4E8E1) fixed;
  color: var(--ink);
  font-family: "Nunito Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }

/* Crest */
.crest { text-align: center; margin-bottom: 56px; }
.crest .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 14px;
}
.crest h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500; font-size: clamp(42px, 7vw, 64px);
  margin: 0; line-height: 1.08; text-wrap: balance;
}
.crest h1 .amp { color: var(--gold); font-style: italic; }
.flourish {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin: 22px auto 14px;
}
.flourish::before, .flourish::after {
  content: ""; width: 36px; height: 1px; background: var(--gold);
}
.flourish i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); display: block;
}
.crest .tagline {
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic;
  font-size: 21px; color: var(--muted); margin: 0; text-wrap: balance;
}

/* Nav links under the crest and in the footer */
.navlinks {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px 26px; margin-top: 26px;
}
.navlinks a {
  color: var(--burgundy); text-decoration: none;
  font-weight: 600; font-size: 15px;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
}
.navlinks a:hover, .navlinks a:focus-visible { border-bottom-color: var(--gold); }
.navlinks a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

/* Content card */
.card {
  background: var(--paper);
  border: 1px solid var(--divider);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 52px);
}
.card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600; font-size: 30px; margin: 40px 0 10px;
  text-wrap: balance;
}
.card h2:first-child { margin-top: 0; }
.card p, .card li { color: var(--ink); max-width: 62ch; }
.card p { margin: 0 0 14px; }
.card ul { margin: 0 0 14px; padding-left: 22px; }
.card li { margin: 6px 0; }
.card li::marker { color: var(--gold); }
.card .lede {
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic;
  font-size: 21px; color: var(--muted);
}
.card a { color: var(--burgundy); }
.effective {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 22px;
}

/* Buttons (index) */
.cta {
  display: inline-block; background: var(--burgundy); color: var(--paper);
  text-decoration: none; font-weight: 700; font-size: 17px;
  padding: 16px 34px; border-radius: 999px;
  box-shadow: 0 10px 22px rgba(110, 45, 58, 0.28);
  transition: transform 0.15s ease, background 0.15s ease;
}
.cta:hover { background: var(--burgundy-dark); transform: translateY(-1px); }
.cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px; margin-top: 36px;
}
.feature {
  background: var(--paper); border: 1px solid var(--divider);
  border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow);
}
.feature h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px; font-weight: 600; margin: 0 0 6px;
}
.feature p { margin: 0; font-size: 15px; color: var(--muted); }

footer {
  margin-top: 64px; text-align: center;
  font-size: 14px; color: var(--muted);
}
footer a { color: var(--burgundy); }

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}
