:root {
  --especial-paper: #FFFFFF;
  --especial-cream: #FBF7F0;
  --especial-bone: #F6F1E8;
  --especial-linen: #EDE5D6;
  --especial-sand: #D9CFB8;
  --especial-stone: #8A7F6B;
  --especial-gold: #B8924A;
  --especial-ink-soft: #3D362C;
  --especial-ink: #1C1814;

  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* The second voice, for the things an invitation is actually about: who sent
     it and what they wrote. Matches the serif the iOS app and the App Clip use
     on the same two pieces of text, so a guest who sees two of the three
     surfaces sees one design. */
  --serif: ui-serif, Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-system);
  color: var(--especial-ink);
  background: linear-gradient(135deg, var(--especial-cream) 0%, var(--especial-bone) 55%, var(--especial-linen) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 32px;
}

.badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--especial-stone);
  border: 1px solid var(--especial-sand);
  border-radius: 999px;
  padding: 6px 14px;
}

/* Main */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 96px;
  text-align: center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
}

.mark {
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
}

.display {
  font-size: clamp(48px, 9vw, 84px);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--especial-ink);
}

.display-italic {
  font-size: clamp(19px, 3vw, 24px);
  font-style: italic;
  font-weight: 400;
  color: var(--especial-stone);
  margin: 14px 0 0;
}

.body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--especial-ink-soft);
  margin: 0;
}

.hero-body {
  max-width: 460px;
  margin-top: 28px;
}

/* Footer */

.site-footer {
  display: flex;
  justify-content: center;
  padding: 28px 32px 40px;
}

.caption {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--especial-stone);
}


.caption-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--especial-stone);
  text-decoration: none;
  margin-left: 18px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.caption-link:hover {
  color: var(--especial-gold);
  border-bottom-color: var(--especial-gold);
}
