:root {
  --bg: #eef1f4;
  --paper: #ffffff;
  --ink: #1d232b;
  --muted: #7b8592;
  --accent: #3f7d6d;
  --line: #e4e8ec;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 32px 16px;
  -webkit-font-smoothing: antialiased;
}

.paper {
  background: var(--paper);
  width: 100%;
  max-width: 560px;
  border-radius: 24px;
  padding: 56px 36px 44px;
  box-shadow: 0 24px 60px rgba(29, 35, 43, 0.08);
}

/* Hero */
.hero { text-align: center; }

.kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.monogram {
  margin: 28px auto 20px;
  width: 84px;
  height: 84px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: var(--accent);
}

.names {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(38px, 9vw, 52px);
  line-height: 1.08;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.names .amp {
  font-style: italic;
  font-size: 0.55em;
  color: var(--accent);
}

.date-line {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Invite */
.invite { margin-top: 40px; text-align: center; }

.invite-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  line-height: 1.5;
  color: #3a424c;
}

/* Countdown */
.countdown {
  margin-top: 40px;
  padding: 28px 20px;
  background: #f7f9fa;
  border-radius: 18px;
  text-align: center;
}

.countdown-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.unit {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.value {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: lowercase;
}

.timer-done {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: var(--accent);
}

/* Details */
.details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail { text-align: center; }

.detail h2 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}

.detail p {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
}

.detail .muted {
  font-size: 17px;
  color: var(--muted);
  margin-top: 4px;
}

.rule {
  height: 1px;
  background: var(--line);
}

/* Footer */
.footer {
  margin-top: 44px;
  text-align: center;
}

.footer p {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 20px;
  color: #3a424c;
}

.heart {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-size: 14px;
  animation: beat 1.6s ease-in-out infinite;
}

@keyframes beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

@media (max-width: 420px) {
  .paper { padding: 40px 20px 32px; border-radius: 18px; }
}
