/* Endear website. Fonts are SIL OFL licensed; licences are in /fonts. */
@font-face { font-family: "Playfair Display"; src: url("/fonts/PlayfairDisplay-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --wine: #6d1d3e;
  --wine-deep: #3e0f24;
  --wine-soft: #f5e8ec;
  --gold: #c6a15b;
  --gold-deep: #9c7a3c;
  --gold-soft: #f4ebd8;
  --ivory: #fbf8f3;
  --ink: #1f1519;
  --muted: #6e6367;
  --line: #ede6e0;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--wine); font-weight: 700; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.2px; line-height: 1.25; }

header.hero {
  background: linear-gradient(135deg, #2b0b19, #5a1733 55%, #7a2447);
  color: #fff;
  padding: 72px 24px 80px;
  text-align: center;
}

header.hero h1 { font-size: 3rem; margin: 18px 0 8px; }
header.hero p { font-size: 1.15rem; margin: 0 auto; max-width: 560px; color: rgba(255, 255, 255, 0.85); }
header.hero .eyebrow { color: var(--gold); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.button {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 30px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e2c68c, #c6a15b 50%, #a9843f);
  color: var(--wine-deep);
  font-weight: 700;
  text-decoration: none;
}

main { max-width: 760px; margin: 0 auto; padding: 40px 20px 72px; }

.doc h1 { font-size: 2.2rem; margin: 6px 0 0; }
.doc .updated { color: var(--muted); margin-top: 6px; }
.doc h2 { margin-top: 38px; font-size: 1.35rem; }
.doc li { margin-bottom: 6px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 24px;
  margin: 16px 0;
}

.card h2, .card h3 { margin-top: 0; font-size: 1.2rem; }
.card p { margin-bottom: 0; color: var(--muted); }

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

.note {
  background: var(--gold-soft);
  border: 1px solid #e8d7b3;
  border-radius: 16px;
  padding: 14px 18px;
  color: #5c4520;
}
.note .last { margin-bottom: 0; }
.center { text-align: center; }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--wine-deep); }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px 44px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

footer a { margin: 0 10px; font-weight: 600; }
