/* start.blurredgenre.com — the public onboarding form. Blurred Media 2.0 tokens (same as Studio), phone first. */
:root {
  --ground: #1A1428; --surface: #221A33; --surface-raised: #2B2140; --border: #3D3354;
  --text: #F7F3EE; --text-muted: #CFC8DA; --text-subtle: #A79EB8;
  --signal-blue: #5B8CFF; --link-hover: #8FB0FF; --sun-yellow: #FFD23F; --hot-red: #FF1E1EBD; --error: #FF8A8A;
  --sun-glow: rgba(255, 210, 63, 0.5); --on-light: #1A1428;
  --display: "Bricolage Grotesque", system-ui, sans-serif; --body: "DM Sans", system-ui, sans-serif;
  --radius-sm: 6px; --radius-row: 12px; --radius-md: 16px; --radius-pill: 999px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--text); font: 400 16px/24px var(--body); -webkit-text-size-adjust: 100%; }
a { color: var(--signal-blue); font-weight: 700; text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--sun-yellow); outline-offset: 2px; }
h1, h2 { font-family: var(--display); margin: 0; }
h1 { font-size: 34px; line-height: 38px; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 22px; line-height: 28px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--text-muted); } .subtle { color: var(--text-subtle); } .small { font-size: 14px; line-height: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Focus Dot logo: lowercase, ExtraBold, a sun-yellow dot with its glow. */
.wordmark { font: 800 22px/1 var(--display); letter-spacing: -0.035em; color: var(--text); display: inline-flex; align-items: baseline; white-space: nowrap; }
.wordmark .dot { width: 0.25em; height: 0.25em; border-radius: 50%; background: var(--sun-yellow); margin-left: 0.085em; box-shadow: 0 0 0.3em 0.11em var(--sun-glow); display: inline-block; }

.top { padding: 20px 20px 0; max-width: 680px; margin: 0 auto; }
main { max-width: 680px; margin: 0 auto; padding: 20px 20px 40px; display: flex; flex-direction: column; gap: 20px; }
.foot { max-width: 680px; margin: 0 auto; padding: 0 20px 40px; color: var(--text-subtle); font-size: 14px; }

/* Hero with the header blur (headers only). */
.hero { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 8px 0 4px; }
.hero .blur { position: absolute; inset: -60px -40px auto auto; width: 320px; height: 200px; pointer-events: none; overflow: hidden; z-index: 0; }
.hero .blur span { position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.35; }
.hero .blur .b1 { width: 200px; height: 200px; background: var(--signal-blue); right: -50px; top: -70px; }
.hero .blur .b2 { width: 160px; height: 160px; background: var(--hot-red); right: 110px; top: -100px; }
.hero > *:not(.blur) { position: relative; z-index: 1; }
.eyebrow { font: 700 12px/16px var(--body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--sun-yellow); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
fieldset.card { margin: 0; }
fieldset.card > legend { float: left; width: 100%; padding: 0; margin-bottom: 2px; }
fieldset.card > legend + * { clear: both; }
.restored { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; background: var(--surface-raised); border-radius: var(--radius-row); padding: 12px 16px; font-size: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .label { font-weight: 700; font-size: 15px; line-height: 22px; }
.field .hint { color: var(--text-subtle); font-size: 14px; line-height: 20px; }
.req { color: var(--sun-yellow); }
input[type=text], input[type=email], input[type=tel], input[type=url], textarea {
  width: 100%; font: 400 16px/24px var(--body); color: var(--text); background: var(--ground); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 12px; min-height: 48px;
}
textarea { min-height: 104px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--sun-yellow); outline: none; box-shadow: 0 0 0 1px var(--sun-yellow); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.err { color: var(--error); font-size: 14px; line-height: 20px; font-weight: 500; }
.err:empty { display: none; }

.options { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 520px) { .options { grid-template-columns: 1fr 1fr; } }
.opt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-row); background: var(--ground); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--sun-yellow); background: var(--surface-raised); }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--sun-yellow); flex: none; }
.consent { align-items: flex-start; padding: 14px; }
.consent input { margin-top: 2px; }

/* Uploads */
.drop { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px dashed var(--border); border-radius: var(--radius-row); }
.drop .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.drop.over { border-color: var(--sun-yellow); background: var(--surface-raised); }
.files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.files li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 6px 6px 10px; background: var(--surface-raised); border-radius: var(--radius-sm); font-size: 14px; }
.files li .name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.files li .size { color: var(--text-subtle); white-space: nowrap; }
.files li.bad { outline: 1px solid var(--error); }
.files img { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; flex: none; }
.total { font-size: 14px; color: var(--text-muted); }

button { font: 700 15px/20px var(--body); min-height: 48px; padding: 0 20px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface-raised); color: var(--text); cursor: pointer; }
button:hover { border-color: var(--text-subtle); }
button.primary { background: var(--sun-yellow); color: var(--on-light); border-color: var(--sun-yellow); width: 100%; font-size: 17px; min-height: 56px; }
button.primary:disabled { opacity: 0.6; cursor: progress; }
button.link { background: none; border: 0; color: var(--signal-blue); padding: 0 4px; min-height: 44px; }
button.icon { min-height: 40px; min-width: 40px; padding: 0 10px; font-size: 13px; }
label.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface-raised); font-weight: 700; font-size: 15px; cursor: pointer; }
label.button:focus-within { outline: 2px solid var(--sun-yellow); outline-offset: 2px; }
label.button input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.summary { border: 1px solid var(--error); background: rgba(255, 138, 138, 0.08); border-radius: var(--radius-row); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.summary ul { margin: 0; padding-left: 20px; }
.progress { height: 8px; border-radius: 4px; background: var(--surface-raised); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--sun-yellow); width: 0; transition: width 0.2s; }
.status { font-size: 14px; color: var(--text-muted); min-height: 20px; }
.turnstile { min-height: 65px; }

/* Honeypot: off screen, out of the tab order, hidden from screen readers. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.thanks { text-align: left; gap: 14px; }
.thanks .big-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--sun-yellow); box-shadow: 0 0 22px 8px var(--sun-glow); margin: 8px 0 8px 4px; }
.block { display: block; } .strong { font-weight: 700; }
[hidden] { display: none !important; }
