/* What's Your Problem? - black page, white type, one white box. */
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-var-latin.woff") format("woff");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 8px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #000; color: #fff; }
body {
  font-family: var(--font);
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6vh 6vw 4vh;
  text-align: center;
}
h1 {
  font-weight: 300;
  font-size: clamp(3.25rem, 7vw, 6.5rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 0.45em;
  max-width: 7.2em;
  text-wrap: balance;
}
h1.small { font-size: clamp(2.25rem, 6vw, 4.5rem); max-width: 12em; }
form { width: min(92vw, 760px); display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.box {
  width: 100%;
  background: #fff;
  color: #000;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.45;
  padding: 18px 20px;
  outline: none;
}
textarea.box { min-height: 3.2em; height: 3.2em; resize: none; overflow: hidden; }
textarea.box:focus, textarea.box:not(:placeholder-shown) { height: 7.5em; overflow: auto; }
.box:focus-visible { box-shadow: 0 0 0 3px #000, 0 0 0 5px #fff; }
.row { display: flex; justify-content: flex-end; }
button {
  font: inherit;
  font-size: 1.05rem;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: var(--radius);
  padding: 10px 26px;
  cursor: pointer;
}
button:hover, button:focus-visible { background: #fff; color: #000; outline: none; }
.ack { display: flex; gap: 12px; align-items: flex-start; text-align: left; font-size: 1rem; line-height: 1.45; color: #ddd; }
.ack input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #fff; flex: none; }
a { color: #fff; }
.error { color: #ffb4b4; font-size: 1rem; margin: 0; text-align: left; }
.quiet { color: #aaa; font-size: 1rem; line-height: 1.5; max-width: 34em; margin: 0 auto; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cf-turnstile { min-height: 65px; align-self: flex-start; }
footer { text-align: center; padding: 0 0 18px; }
footer a { color: #555; font-size: 0.8rem; text-decoration: none; }
footer a:hover { color: #aaa; }

/* Privacy notice and admin: same palette, readable column. */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 24px 64px; text-align: left; line-height: 1.6; font-size: 1.05rem; }
.doc h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); max-width: none; margin-bottom: 0.6em; }
.doc h2 { font-weight: 500; font-size: 1.3rem; margin: 2em 0 0.4em; }
.doc li { margin: 0.25em 0; }
.admin { max-width: 1100px; }
.admin table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.admin th, .admin td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #333; vertical-align: top; }
.admin .pill { display: inline-block; border: 1px solid #777; border-radius: 999px; padding: 1px 10px; font-size: 0.85rem; white-space: nowrap; }
.admin pre { white-space: pre-wrap; background: #fff; color: #000; border-radius: var(--radius); padding: 14px 16px; font-family: var(--font); font-size: 1rem; }
.admin form { width: auto; }
.admin select, .admin input[type=number], .admin input[type=text] { font: inherit; font-size: 1rem; border-radius: var(--radius); border: 0; padding: 8px 10px; }
.admin .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.admin .danger { border-color: #ff8a8a; color: #ff8a8a; }
