:root {
  color-scheme: light;
  --paper: #fffdfa;
  --white: #fff;
  --ink: #515151;
  --muted: #747474;
  --gold: #a48f58;
  --line: #e5ddca;
  --shadow: 0 20px 55px rgba(70, 60, 45, .10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #fff 0, var(--paper) 100%);
  color: var(--ink);
  font: 16px/1.55 "Open Sans", Arial, sans-serif;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus { top: 12px; }

.guest-header {
  min-height: 74px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.guest-header a {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--ink);
  font-size: 23px;
  text-decoration: none;
}

.guest-header strong { color: var(--gold); }

main {
  min-height: calc(100vh - 75px);
  display: grid;
  place-items: center;
  padding: 44px 16px 80px;
}

.guest-panel {
  width: min(460px, 100%);
  padding: 38px 42px 42px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .93);
  box-shadow: var(--shadow);
}

.guest-panel-wide { width: min(720px, 100%); }
.guest-login-panel { min-width: 0; }
.guest-login-panel h1 { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }

.eyebrow {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 10px;
  color: #927d48;
  font: 600 clamp(32px, 5vw, 42px)/1.15 Georgia, serif;
}

p { margin: 0 0 24px; color: var(--muted); }

.guest-form { display: grid; gap: 12px; margin-top: 30px; }

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  margin: -12px -12px 18px 0;
}

.language-switcher a {
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] { background: #f0eadf; color: #7d693c; }

.guest-form label:not(:first-of-type) { margin-top: 8px; }

.captcha-wrap { min-height: 78px; margin: 8px 0; overflow: hidden; }

.guest-help {
  margin: 18px 0 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
  background: #fffdf8;
}

.guest-help p { margin-bottom: 12px; }
.guest-help-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.guest-help-actions .guest-button { min-height: 42px; padding: 8px 12px; font-size: 14px; }

label, dt { font-size: 14px; font-weight: 700; }

input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d2c6ac;
  border-radius: 9px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  font: 600 20px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

input:focus, .guest-button:focus, a:focus {
  outline: 3px solid rgba(164, 143, 88, .34);
  outline-offset: 2px;
}

.guest-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 9px;
  padding: 12px 20px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.guest-button-secondary { background: transparent; color: var(--gold); }

.form-error {
  margin: 20px 0 0;
  border-left: 3px solid #9b4d45;
  padding: 10px 12px;
  background: #fff6f4;
  color: #7d3730;
}

.guest-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.guest-summary div { padding: 18px; background: #fff; }
.guest-summary dd { margin: 4px 0 0; color: var(--muted); }

@media (max-width: 560px) {
  .guest-header a { font-size: 21px; }
  main { align-items: start; padding-top: 28px; }
  .guest-panel { padding: 28px 22px 30px; }
  .guest-login-panel p { overflow-wrap: anywhere; hyphens: auto; }
  .guest-summary { grid-template-columns: 1fr; }
}
