:root {
  color-scheme: light;
  --paper: #f5f1ea;
  --ink: #3d3428;
  --muted: #807262;
  --line: rgba(60, 52, 44, .16);
  --accent: #d9570f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.7 "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
header { max-width: 1100px; padding: 20px 24px; margin: auto; display: flex; align-items: center; gap: 12px; }
header span { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
header select { margin-left: auto; min-width: 0; max-width: 108px; min-height: 44px; background: transparent; border: 1px solid transparent; border-radius: 10px; padding: 8px; color: var(--ink); font: inherit; font-size: 13px; }
a { color: inherit; text-underline-offset: 4px; text-decoration-color: var(--line); overflow-wrap: anywhere; }
a:hover { color: var(--accent); }
.back { font-size: 23px; text-decoration: none; width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 50%; }
.back:hover { background: #fdfcf9; }
main { width: min(560px, 100%); margin: 44px auto 60px; padding: 0 24px; }
.eyebrow { font-size: 12px; letter-spacing: .04em; color: var(--muted); margin: 0 0 12px; }
h1 { font-family: inherit; font-size: clamp(24px, 2.4vw, 28px); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; margin: 0 0 12px; }
h2 { font-size: 20px; font-weight: 600; line-height: 1.4; }
.intro { color: var(--muted); margin: 0 0 32px; }
.fields { display: grid; gap: 20px; }
.fields label { display: grid; gap: 8px; font-size: 13px; font-weight: 500; }
.fields input { width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; background: #fdfcf9; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--ink); }
:is(input, select, button, a):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hint { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 16px 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.8; margin: 24px 0; min-height: 44px; cursor: pointer; }
.consent input { margin: 0; flex: 0 0 44px; width: 44px; height: 44px; appearance: none; border: 0; background: transparent; border-radius: 8px; position: relative; cursor: pointer; }
.consent input::before { content: ""; position: absolute; width: 18px; height: 18px; inset: 9px auto auto 9px; border: 1px solid var(--muted); border-radius: 4px; background: #fdfcf9; }
.consent input:checked::before { background: var(--ink); border-color: var(--ink); }
.consent input:checked::after { content: "✓"; position: absolute; top: 6px; left: 13px; font: 14px/24px sans-serif; color: #fdfcf9; }
.consent span { padding-top: 5px; min-width: 0; }
button[type=submit] { width: 100%; min-height: 48px; border: 0; border-radius: 10px; background: var(--ink); color: #fdfcf9; padding: 12px 16px; font: inherit; font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
button[type=submit]:hover:not(:disabled) { background: #4a3f34; }
button:disabled { opacity: .5; cursor: default; }
footer { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; font-size: 13px; }
footer a, .browse { display: inline-flex; align-items: center; min-height: 44px; }
#waitlistStatus { font-size: 13px; color: #993c1d; overflow-wrap: anywhere; }
.done-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(76, 126, 105, .08); color: #4c7e69; font-size: 23px; }
.browse { margin-top: 8px; }
#waitlistDone { padding-top: 12px; }
#waitlistDone p:not(.hint) { font-size: 16px; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  header { padding: 12px 12px; gap: 8px; }
  main { margin-top: 30px; padding: 0 20px; }
  .intro { margin-bottom: 28px; }
  header select { font-size: 16px; max-width: 96px; }
}
@media (prefers-reduced-motion: no-preference) {
  button, a { transition: color .15s, background .15s; }
}
@media (forced-colors: active) {
  .consent input { appearance: auto; }
  .consent input::before, .consent input::after { display: none; }
}
