:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f3f6fb;
  line-height: 1.5;
}

* { box-sizing: border-box; }

body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #ffffff 0, #f3f6fb 55%, #e8edf5 100%); }

button, input { font: inherit; }

a { color: var(--brand, #155eef); text-underline-offset: 0.18em; }

.guest-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background-image: linear-gradient(rgba(243, 246, 251, 0.72), rgba(232, 237, 245, 0.84)), var(--guest-background, none);
  background-position: center;
  background-size: cover;
}

.guest-card {
  width: min(100%, 28rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dfe5ee;
  border-radius: 1.25rem;
  box-shadow: 0 1.5rem 4rem rgba(30, 45, 75, 0.12);
  padding: clamp(1.4rem, 5vw, 2.4rem);
}

.guest-card h1 { margin: 0 0 0.65rem; font-size: clamp(1.65rem, 7vw, 2.15rem); line-height: 1.15; letter-spacing: -0.035em; }
.guest-card p { color: #536079; margin: 0.5rem 0 1.2rem; }

.brand-logo { display: block; max-width: 10rem; max-height: 4rem; object-fit: contain; margin: 0 0 1.4rem; }
.eyebrow { color: var(--brand, #155eef); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }

.field { display: grid; gap: 0.4rem; margin-top: 1rem; }
.field label { font-weight: 650; }
.field input { width: 100%; border: 1px solid #b8c2d3; border-radius: 0.75rem; padding: 0.78rem 0.9rem; background: #fff; color: #172033; }
.field input:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand, #155eef) 25%, transparent); border-color: var(--brand, #155eef); }

.checkbox { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.65rem; align-items: start; margin: 1rem 0; color: #3b465c; font-size: 0.92rem; }
.checkbox input { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--brand, #155eef); }

.button { width: 100%; border: 0; border-radius: 0.8rem; padding: 0.82rem 1rem; background: var(--brand, #155eef); color: white; font-weight: 720; cursor: pointer; }
.button:hover { filter: brightness(0.95); }
.button:focus-visible { outline: 3px solid #172033; outline-offset: 2px; }
.button--secondary { background: #fff; color: #172033; border: 1px solid #b8c2d3; margin-top: 0.7rem; }

.language-switch { display: flex; justify-content: flex-end; gap: 0.45rem; margin-bottom: 1rem; font-size: 0.86rem; }
.language-switch a[aria-current="page"] { color: #172033; font-weight: 700; text-decoration: none; }

.notice { border-radius: 0.75rem; padding: 0.75rem 0.85rem; background: #fff4e5; color: #713b00; font-size: 0.88rem; margin: 1rem 0; }
.error { border-radius: 0.75rem; padding: 0.75rem 0.85rem; background: #fff0f0; color: #8b1a1a; margin: 1rem 0; }
.fine-print { font-size: 0.8rem; color: #69758c; margin-top: 1rem; }

.status-icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 999px; background: #fff0f0; color: #b42318; font-weight: 800; font-size: 1.3rem; margin-bottom: 1rem; }
.status-icon--success { background: #e9f8ef; color: #147a3d; }

@media (max-width: 360px) {
  .guest-shell { padding-inline: 0.65rem; }
  .guest-card { border-radius: 1rem; padding: 1.2rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .guest-card { animation: enter 220ms ease-out; }
  @keyframes enter { from { opacity: 0; transform: translateY(0.45rem); } }
}
