@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/lora-cyrillic-500-italic.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/lora-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/lora-latin-500-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/lora-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/manrope-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/manrope-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/manrope-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/manrope-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
* { box-sizing: border-box }
:root {
  color-scheme: light;
  background: #F6F1E7;
  color: #332C25;
  font-family: Manrope, sans-serif;
  font-synthesis: none;
}
body { margin: 0 }
main {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 2rem .75rem;
  text-align: center;
}
section { width: min(100%, 56rem) }
#invite:not(.returned), #no { animation: appear .38s ease-out backwards }
#yes > h1, #yes > p { animation: appear .28s ease-out backwards }
#contacts { animation: appear .32s ease-out .1s backwards }
#contacts:focus-within { animation: none }
[hidden] { display: none !important }
h1 {
  margin: 0;
  font: 500 clamp(2.25rem, 10vw, 2.5rem)/1.12 Lora, Georgia, serif;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 span { display: block }
h1 em { font-weight: inherit }
h1[tabindex="-1"] { width: fit-content; max-width: 100%; margin-inline: auto }
h1[tabindex="-1"]:focus { outline: none }
p {
  margin: 1.65rem auto 0;
  max-width: 32ch;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.5;
  color: #716557;
  text-wrap: balance;
}
#invite p { max-width: none }
.actions { margin: 2.4rem auto 0; display: flex; flex-direction: column; align-items: center; gap: .75rem; justify-content: center }
button, .actions a {
  display: inline-grid;
  place-items: center;
  min-height: 3.15rem;
  width: min(100%, 10rem);
  padding: .7rem 1.2rem;
  border: 1px solid #786b5d;
  border-radius: 8px;
  color: #332C25;
  background: transparent;
  font: 600 1rem/1.35 Manrope, sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, transform .18s;
}
.primary { background: #3A3129 !important; color: #F6F1E7 !important; border-color: #3A3129 !important }
@media (hover: hover) {
  button:hover, a[href]:hover { background: #eae2d4 }
  .primary:is(button, [href]):hover { background: #504237 !important }
}
button:active, a[href]:active { transform: translateY(2px) }
:focus-visible { outline: 3px solid #745231; outline-offset: 4px }
#contacts { margin-top: 1.3rem }
small { display: block; margin-top: 1rem; color: #716557; font-size: .9rem }
@keyframes appear { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
@media (min-width: 42rem) {
  h1 { font-size: clamp(3.75rem, 6vw, 4rem) }
  .actions { margin-top: 3rem; flex-direction: row }
  button, .actions a { min-height: 3.5rem }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; transform: none !important }
}


