:root { --bg:#ffffff; --surface:#f3f3f4; --border:#e6e6ea; --text:#0d0d0d; --muted:#6e6e73; --accent:#e0506f; --accent-text:#ffffff; --error:#d93b41; --radius:16px; color-scheme:light; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh; display: flex; flex-direction: column;
  padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom);
}
main { flex: 1; width: 100%; max-width: 480px; margin: 0 auto; padding: 32px 0 24px; }
section { display: flex; flex-direction: column; gap: 16px; }
section[hidden], form[hidden], [hidden] { display: none !important; }
.center { align-items: center; text-align: center; justify-content: center; min-height: 60dvh; }
h1 { font-size: 28px; line-height: 1.2; margin: 0; }
h2 { font-size: 20px; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.eyebrow { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.hero { text-align: center; display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
form { display: flex; flex-direction: column; gap: 16px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer;
}
.chip[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.field { position: relative; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
textarea, input {
  width: 100%; font: inherit; font-size: 17px; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; resize: none;
}
textarea:focus, input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.counter { position: absolute; right: 12px; bottom: 10px; font-size: 12px; }
.note { font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.check a { color: inherit; }
.error { color: var(--error); font-size: 14px; }
.button {
  display: block; width: 100%; text-align: center; text-decoration: none; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-text); font: inherit; font-weight: 600;
  border-radius: var(--radius); padding: 15px; min-height: 52px;
}
.button:disabled { opacity: .45; cursor: default; }
.link { background: none; border: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; padding: 8px; }
blockquote { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.badge {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-text); font-size: 28px;
}
.cta { width: 100%; margin-top: 16px; padding: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--accent);
  animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
footer { text-align: center; font-size: 13px; color: var(--muted); padding: 16px 0; }
footer a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.share-brand { color:var(--text); text-decoration:none; font-size:24px; font-weight:700; padding:20px 0 0; max-width:480px; width:100%; margin:auto; }
