/* Matches the Surgical Science lead-capture form: white page, centered wordmark, grey filled fields with
   in-field labels, vertical platform checkboxes, red submit. Field order follows the reference form. */
:root {
  --bg: #ffffff;
  --text: #1f1f1f;
  --muted: #6b6b6b;
  --field: #eeeeee;
  --field-border: #dcdcdc;
  --placeholder: #7a7a7a;
  --red: #e2382c;          /* wordmark + submit */
  --red-dark: #c92e24;
  --link: #1a5fd0;
  --error: #b42318;
  --radius: 4px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.4 "Open Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; }
.page { max-width: 460px; margin: 0 auto; padding: 32px 20px 48px; }

/* wordmark */
.brand { text-align: center; margin-bottom: 4px; }
.brand img { height: 36px; }
.wordmark { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; line-height: 1; }
.wordmark .w1 { color: #111; }
.wordmark .w2 { color: var(--red); }
.event-title { text-align: center; font-size: 17px; font-weight: 700; margin: 6px 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* fields */
form { display: flex; flex-direction: column; gap: 24px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr; } }
.grid > .full { grid-column: 1 / -1; }
input, select, textarea {
  font: inherit; width: 100%; padding: 12px 10px; color: var(--text);
  background: var(--field); border: 1px solid var(--field-border); border-radius: var(--radius);
}
input::placeholder, textarea::placeholder { color: var(--placeholder); opacity: 1; }
select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
select.placeholder { color: var(--placeholder); }      /* until a real option is chosen */
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); background: #fff3f2; }

/* platforms */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; font-size: 14px; padding: 0; margin-bottom: 12px; }
.checks { display: flex; flex-direction: column; gap: 8px; }
.check { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 1px 0 0; padding: 0; flex: none; accent-color: #444; background: #fff; }

/* consent */
.consent { display: flex; flex-direction: column; gap: 8px; }
.disclaimer { margin: 0; font-size: 13px; color: var(--muted); }
.disclaimer a, .error a { color: var(--link); }

/* buttons */
button { font: inherit; font-weight: 700; padding: 10px 20px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; }
button.primary { background: var(--red); color: #fff; align-self: flex-start; }
button.primary:hover { background: var(--red-dark); }
button[disabled] { opacity: .6; cursor: progress; }
.error { color: var(--error); margin: 0; font-size: 13px; }
.cf-turnstile:empty { display: none; }
