/* Expansive EDGE motion site: shared form styles (the contact form's look), used by the
   email-my-results forms, the book launch list and the contact page. */
.cform { color-scheme: dark; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 0; }
.cform .full { grid-column: 1 / -1; }
.cform label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); min-width: 0; }
.cform .opt { color: var(--muted); font-weight: 400; }
.cform input, .cform select, .cform textarea { font: 400 16px var(--body); color: var(--ink); background: rgba(1,28,32,0.75); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; box-sizing: border-box; min-width: 0; }
.cform option { background: var(--deep); color: var(--ink); }
.cform textarea { min-height: 130px; resize: vertical; }
.cform input:focus-visible, .cform select:focus-visible, .cform textarea:focus-visible { outline: 2px solid var(--mint); outline-offset: 1px; border-color: var(--mint); }
.cform label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.cform label.check input { width: 18px; height: 18px; flex: none; margin: 3px 0 0; padding: 0; accent-color: var(--mint); }
.cform .fine { color: var(--muted); font-size: 13px; margin: 0; }
.cform .fine a { color: var(--muted); }
.cform button { justify-self: start; cursor: pointer; border: 0; font: 600 15px var(--body); }
.cform button:disabled { opacity: .6; cursor: default; }
.cform .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cform fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.cform legend { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 8px; width: 100%; }
.cform .er-h { font: 600 18px/1.3 var(--display); color: var(--ink); margin: 0; }
.cform .er-sub { color: var(--muted); font-size: 14.5px; margin: 0; }
.er-msg { margin: 0; font-size: 14.5px; color: var(--muted); }
.er-msg.ok { color: var(--mint); }
.er-msg.bad { color: #ffb4a8; }
.er-msg.ok::before { content: "Done: "; font-weight: 600; }
.er-msg.bad::before { content: "Not sent: "; font-weight: 600; }
.cform.er { margin-top: 22px; }
.cform-err { margin: 12px 0 0; color: #ffb4a8; font-size: 14.5px; }
.yt.yt-on { position: relative; aspect-ratio: 16 / 9; }
.yt.yt-on iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; }
@media (max-width: 600px) { .cform { grid-template-columns: 1fr; padding: 18px; } }
