@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jost-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Pinyon Script'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/pinyon-script-latin-400-normal.woff2') format('woff2'); }

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #3b0f22;
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  background-color: #9e2a55;
  background-image:
    radial-gradient(90% 70% at 75% 25%, rgb(255 255 255 / 0.16), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgb(59 15 34 / 0.5), transparent 70%);
  -webkit-font-smoothing: antialiased;
}
.lang { position: fixed; top: 16px; right: 16px; display: flex; border: 1px solid rgb(251 239 243 / 0.5); }
.lang button {
  min-width: 44px; min-height: 44px; border: 0; background: transparent; color: #fbeff3; cursor: pointer;
  font: 500 12px/1 'Jost', sans-serif; letter-spacing: 0.2em;
}
.lang button[aria-pressed='true'] { background: #fbeff3; color: #9e2a55; }
.card {
  position: relative;
  width: min(100%, 440px);
  padding: 56px 36px 40px;
  text-align: center;
  background: #fbf7f4;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6);
}
.card::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgb(217 185 122 / 0.7); pointer-events: none; }
.bow { position: absolute; top: -26px; left: 50%; width: 80px; height: 52px; transform: translateX(-50%); color: #9e2a55; }
.eyebrow { margin: 0; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: #9e2a55; }
h1 { margin: 14px 0 0; font: 400 34px/1.05 'EB Garamond', Georgia, serif; letter-spacing: 0.02em; }
.script { margin: 14px 0 0; font: 400 40px/1 'Pinyon Script', 'Snell Roundhand', cursive; color: #9e2a55; }
.intro { margin: 18px auto 0; max-width: 300px; font: italic 400 19px/1.5 'EB Garamond', Georgia, serif; color: #6e3550; }
.message { margin: 20px 0 0; padding: 10px 14px; font-size: 14px; line-height: 1.5; border: 1px solid #a3264f; color: #a3264f; background: #fdf3f6; }
.google {
  margin-top: 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid #747775; border-radius: 4px; background: #ffffff; color: #1f1f1f;
  font: 500 15px/1 'Roboto', 'Jost', Arial, sans-serif; text-decoration: none;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.google:hover { background: #f8f8f8; box-shadow: 0 1px 3px rgb(0 0 0 / 0.2); }
.google:focus-visible { outline: 2px solid #9e2a55; outline-offset: 3px; }
.google svg { width: 20px; height: 20px; }
.small { margin: 26px 0 0; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #8c5a2b; }
[hidden] { display: none !important; }
