:root {
  color-scheme: dark;
  --background: #1d252c;
  --surface: #232d35;
  --text: #dedbd4;
  --muted: #b1bbc1;
  --copper: #d0a68a;
  --line: #43505a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 64px 24px 36px;
  background: radial-gradient(ellipse at 15% 15%, #30414a55, transparent 60%), var(--background);
  color: var(--text);
  font: 16px/1.75 'Segoe UI', Arial, sans-serif;
}
.card {
  width: min(100%, 650px);
  padding: 42px 52px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: 3px;
  box-shadow: 0 24px 70px #00000024;
}
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 38px; }
.eyebrow { font-size: 10px; letter-spacing: 2px; font-weight: 600; color: var(--copper); }
.envelope { width: 43px; height: 43px; flex: 0 0 43px; color: var(--copper); }
.intro { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
h1 { font: 400 clamp(34px, 6vw, 53px)/1.2 Georgia, 'Times New Roman', serif; letter-spacing: -1.7px; margin: 0; }
h1 span { color: var(--copper); }
.rule { width: 40px; height: 1px; background: var(--copper); margin: 30px 0; }
h2 { font-size: 18px; font-weight: 500; letter-spacing: -.2px; margin: 0 0 12px; }
.description { color: var(--muted); margin: 0; max-width: 47ch; font-size: 15px; }
.invitation { color: var(--text); font-size: 15px; margin: 22px 0 34px; }
.card-footer { border-top: 1px solid var(--line); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-footer>span:first-child { font-size: 12px; color: var(--muted); }
.signature { font: italic 24px Georgia, serif; color: var(--copper); }
.footnote { font-size: 10px; letter-spacing: 1.1px; color: var(--muted); margin: 25px 0 0; text-align: center; }
@media(max-width:480px) {
  body { padding: 32px 18px 24px; }
  .card { padding: 26px 26px 24px; }
  .card-top { gap: 14px; margin-bottom: 30px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .envelope { width: 34px; height: 34px; flex-basis: 34px; }
  h1 { font-size: clamp(30px, 8vw, 39px); letter-spacing: -1px; }
  .intro { font-size: 12px; }
  .rule { margin: 25px 0; }
  .description, .invitation { font-size: 14px; }
  .card-footer>span:first-child { font-size: 11px; }
  .signature { font-size: 22px; }
}
@media print {
  :root { color-scheme: light; --background: #fff; --surface: #fff; --text: #222; --muted: #444; --copper: #64462f; --line: #aaa; }
  body { min-height: auto; background: white; padding: 0; }
  .card { box-shadow: none; }
}
