/* =========================
   Base Styles
   ========================= */

:root {
  /* Primary wedding colors */
  --sage: #8fae9b;        /* sage green */
  --sage-dark: #6f8f7c;

  --mauve: #b07a8d;       /* mauve */
  --mauve-dark: #8f5a6b;

  /* Neutrals */
  --bg-main: #faf9f8;
  --bg-card: #ffffff;
  --border-soft: rgba(0, 0, 0, 0.08);

  --text-main: #2b2b2b;
  --text-muted: #6b6b6b;

  /* Typography */
  --font-sans: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-serif: "Kalnia", "Georgia", "Times New Roman", serif;

  /* Shadows */
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 14px 28px rgba(0, 0, 0, 0.08);
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 18px;
}

main > section,
main > .card {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

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

h1 {
  color: var(--mauve-dark);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3rem);
}

h2 {
  color: var(--sage-dark);
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  margin: 40px 0 16px;
}

h3 {
  color: var(--sage-dark);
  font-size: 1.25rem;
  margin: 24px 0 12px;
}

main > h2:first-child {
  margin-top: 0;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  text-decoration: none;
  color: var(--sage-dark);
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--mauve);
}

a:focus-visible {
  outline: 2px solid var(--mauve);
  outline-offset: 2px;
  border-radius: 4px;
}

header {
  text-align: center;
  padding: 60px 20px;
}

footer {
  text-align: center;
  padding: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}
