/* Blissmaker: the invitation suite (ivory card, ink, sage, blush, gold foil), as in the game's UI. */
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/fonts/Caveat-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #FAF5EA; --paper-light: #FFFDF8; --paper-shade: #ECE3D2; --linen: #CED6C6;
  --ink: #3D3446; --graphite: #706A74; --sage: #8FAE8B; --sage-deep: #5E7D5E;
  --blush: #EDBCB3; --rose: #C4677A; --foil: #C8A25A; --foil-light: #E8CE91;
}
* { box-sizing: border-box; }
html { background: var(--linen); }
body {
  margin: 0; color: var(--ink); font: 500 18px/1.6 "Figtree", system-ui, sans-serif;
  background: radial-gradient(circle at 20% 0%, #dde4d5 0, var(--linen) 60%);
  min-height: 100vh; padding: 48px 20px 64px;
}
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.card {
  max-width: 760px; margin: 0 auto; background: var(--paper-light);
  border-radius: 8px; padding: 56px 56px 40px; position: relative;
  box-shadow: 0 2px 0 var(--paper-shade), 0 18px 40px rgba(61, 52, 70, .14);
  transform: rotate(-.4deg);
}
.card::before {             /* the gold foil border, inset like a printed invitation */
  content: ""; position: absolute; inset: 14px; border: 1.5px solid var(--foil-light);
  border-radius: 4px; pointer-events: none;
}
.card > * { transform: rotate(.4deg); }

.kicker { font: 600 26px/1 "Caveat", cursive; color: var(--sage-deep); margin: 0 0 6px; text-align: center; }
h1 { font: 600 64px/1.05 "Fraunces", Georgia, serif; text-align: center; margin: 0; letter-spacing: -.5px; }
h1 .co { color: var(--rose); }
.tagline { text-align: center; font: 600 22px/1.4 "Fraunces", Georgia, serif; color: var(--graphite); margin: 10px 0 28px; }
.ribbon { display: flex; justify-content: center; gap: 8px; margin: 0 0 32px; }
.ribbon span { width: 64px; height: 6px; border-radius: 3px; background: var(--blush); }
.ribbon span:nth-child(2) { width: 28px; background: var(--sage); }
.ribbon span:nth-child(3) { width: 14px; background: var(--foil); }

h2 { font: 600 28px/1.2 "Fraunces", Georgia, serif; margin: 36px 0 10px; }
h3 { font: 700 18px/1.3 "Figtree", sans-serif; margin: 26px 0 6px; }
p, li { color: var(--ink); }
.lede { font-size: 20px; }
.feature { margin: 0 0 16px; }
.feature b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 20px; }
.note { font: 600 24px/1.3 "Caveat", cursive; color: var(--sage-deep); text-align: center; margin: 32px 0 0; }

.date {
  display: block; width: max-content; margin: 34px auto 0; padding: 14px 26px;
  border: 1.5px solid var(--foil); border-radius: 6px; text-align: center;
  font: 600 20px/1.3 "Fraunces", Georgia, serif; background: var(--paper);
}
.date small { display: block; font: 500 15px/1.4 "Figtree", sans-serif; color: var(--graphite); }

table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--paper-shade); }
th { font-weight: 700; background: var(--paper); }

footer { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--graphite); font-size: 15px; }
footer a { color: var(--graphite); }

@media (max-width: 640px) {
  body { padding: 20px 10px 40px; font-size: 17px; }
  .card { padding: 40px 26px 28px; transform: none; }
  .card > * { transform: none; }
  h1 { font-size: 46px; }
  table, thead, tbody, tr, th, td { font-size: 15px; }
}
