/* Placeholder styling. The landing-page design gets its own separate spec (Sagi, 23.11); only this file and the markup structure should change then. */
:root {
  --bg: #faf6f0;
  --card: #ffffff;
  --ink: #2b2622;
  --muted: #7a6f66;
  --accent: #8a6a3d;
  --accent-ink: #ffffff;
  --line: #e8dfd3;
  --chosen: #f3ead9;
  --error: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c1916;
    --card: #26221e;
    --ink: #f2ece4;
    --muted: #b3a89c;
    --accent: #d2ad73;
    --accent-ink: #1c1916;
    --line: #3d362f;
    --chosen: #3a3127;
    --error: #ff8a80;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 "Heebo", system-ui, sans-serif;
  padding: 16px;
}
.card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 28px;
}
.invite { margin: -4px -4px 16px; }
.invite img { display: block; width: 100%; height: auto; border-radius: 12px; }
h1 { font: 700 1.7rem/1.25 "Frank Ruhl Libre", serif; margin: 0 0 8px; }
.eyebrow { color: var(--accent); font-weight: 500; letter-spacing: .02em; margin: 0 0 4px; }
.muted { color: var(--muted); }
p { margin: 0 0 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

form { margin-top: 16px; }
.choices { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  transition: border-color .15s, background .15s;
}
.choice input:checked + span { border-color: var(--accent); background: var(--chosen); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.field { display: block; margin: 0 0 14px; }
.field > span { display: block; margin-bottom: 6px; font-weight: 500; }
select, textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
button {
  width: 100%;
  font: inherit;
  font-weight: 700;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
}
button:disabled { opacity: .6; cursor: progress; }
button.secondary { background: transparent; color: var(--accent); border: 2px solid var(--accent); margin-top: 8px; }
.error { color: var(--error); font-weight: 500; }
.gift { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
#directions { margin: 12px 0; padding: 12px 14px; background: var(--chosen); border-radius: 12px; }
#directions > :last-child { margin-bottom: 0; }
