/* The sign-up form is a pane of the same glass: frosted, with the pebble pattern, over the same people. */
body.signup { overflow-y: auto; }
.page { position: relative; z-index: 2; min-height: 100%; display: flex; justify-content: center; padding: 24px 16px 72px; }
.pane {
  position: relative;
  width: min(640px, 100%);
  margin: auto 0;
  padding: 28px clamp(18px, 4vw, 36px) 28px;
  border-radius: 22px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.20), rgba(255, 245, 235, 0.12));
  border: 1px solid rgba(255, 250, 243, 0.35);
  box-shadow: 0 20px 60px rgba(30, 18, 12, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  backdrop-filter: blur(22px) saturate(1.1);
  text-shadow: 0 1px 8px var(--shadow);
}
.pane::before { /* the pebbled surface, same scale as the big glass */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.075' numOctaves='3' seed='7'/><feDiffuseLighting lighting-color='white' surfaceScale='2.2'><feDistantLight azimuth='225' elevation='60'/></feDiffuseLighting></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: soft-light;
}
.back { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; }
.back:hover { color: var(--ink); }
.title { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(1.8rem, 3vw + 0.8rem, 2.8rem); margin: 10px 0 6px; line-height: 1.1; }
.why { color: var(--ink-soft); margin: 0 0 18px; line-height: 1.5; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin: 0 0 14px; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; }
.req { color: #ffd9b3; }
.opt { color: var(--ink-soft); font-size: 0.8rem; font-weight: 400; }
input, select {
  font: inherit; font-size: 1rem; min-height: 44px; padding: 0.55em 0.85em; border-radius: 12px;
  border: 1px solid rgba(255, 250, 243, 0.45); background: rgba(40, 26, 20, 0.28); color: var(--ink);
  text-shadow: none; width: 100%;
}
select option { color: #2b1d18; }
input:focus, select:focus { outline: 2px solid #fff; outline-offset: 1px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #ffb08a; }
fieldset { border: 0; margin: 6px 0 14px; padding: 0; }
legend { font-size: 0.92rem; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chips label { flex-direction: row; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-block; padding: 0.45em 0.95em; border-radius: 999px; cursor: pointer; font-size: 0.92rem;
  border: 1px solid rgba(255, 250, 243, 0.45); background: rgba(255, 250, 243, 0.10);
}
.chips input:checked + span { background: var(--btn-solid); color: var(--btn-solid-ink); text-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.detected { font-size: 0.88rem; color: var(--ink-soft); margin: 10px 0 0; }
.privacy { font-size: 0.82rem; color: var(--ink-soft); margin: 4px 0 14px; }
.agree { font-size: 0.82rem; color: var(--ink-soft); margin: 10px 0 0; }
.agree a, .footer a { color: inherit; text-decoration: underline; }
.send { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.msg { font-size: 0.92rem; }
.thanks { text-align: center; }
[hidden] { display: none !important; }
.linkish { background: none; border: 0; padding: 4px 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.85rem; }
.devpane { margin-top: 12px; padding: 14px; border-radius: 14px; border: 1px solid rgba(255,250,243,.35); background: rgba(40,26,20,.18); }
.devnote { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 10px; }
label input[name=heardOther] { margin-top: 6px; }
.overlay { position: relative; z-index: 2; min-height: 100%; display: flex; justify-content: center; padding: 24px 16px 72px; }
