/* Consent form — neon MC companion, mobile-first / iPad */
.consent-shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  position: relative;
  z-index: 1;
}
.consent-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.consent-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.consent-brand img {
  border-radius: 50%;
  box-shadow: var(--glow-mag);
}
.consent-eyebrow {
  font: 600 11px/1.2 var(--font-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-cyan-hi);
  margin: 0 0 4px;
}
.consent-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.consent-lede {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.5;
  margin: 12px 0 20px;
}
.consent-section {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.consent-section:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 8px;
}
.consent-section h2 {
  font: 600 13px/1.3 var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-mag-hi);
  margin: 0 0 14px;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font: 500 13px/1.3 var(--font-ui);
  color: var(--ink-dim);
  margin-bottom: 6px;
}
.field label .req {
  color: var(--neon-mag);
  margin-left: 2px;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="date"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 122, 232, 0.28);
  background: rgba(8, 6, 16, 0.75);
  color: var(--ink);
  font: 400 15px/1.3 var(--font-ui);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 72px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--neon-mag-hi);
  box-shadow: 0 0 0 3px rgba(255, 43, 214, 0.2);
}
.field.is-invalid input,
.field.is-invalid textarea,
.radio-row.is-invalid,
.check-list.is-invalid,
.sig-wrap.is-invalid {
  border-color: #ff4d6d !important;
  box-shadow: 0 0 0 2px rgba(255, 77, 109, 0.25);
}
.field-error {
  display: none;
  font-size: 12px;
  color: #ff8fa3;
  margin-top: 6px;
}
.field.is-invalid .field-error,
.radio-row.is-invalid + .field-error,
.check-list.is-invalid + .field-error,
.sig-wrap.is-invalid + .field-error {
  display: block;
}
.field-hint {
  font-size: 12px;
  color: var(--stone);
  margin-top: 4px;
}
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.radio-pill {
  flex: 1 1 30%;
  min-width: 100px;
}
.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 232, 0.35);
  background: rgba(255, 43, 214, 0.06);
  font: 600 14px/1 var(--font-ui);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.radio-pill input:checked + span {
  background: var(--metal);
  color: #050508;
  border-color: transparent;
  box-shadow: var(--glow-mag);
}
.radio-pill input:focus-visible + span {
  outline: 2px solid var(--neon-mag-hi);
  outline-offset: 3px;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(8, 6, 16, 0.55);
  border: 1px solid rgba(255, 122, 232, 0.18);
  cursor: pointer;
  min-height: 44px;
  transition: border-color 0.2s, background 0.2s;
}
.check-item:hover {
  border-color: rgba(255, 122, 232, 0.4);
  background: rgba(255, 43, 214, 0.08);
}
.check-item input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--neon-mag);
  flex-shrink: 0;
}
.check-item span {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}
.check-item.is-none {
  border-color: rgba(34, 211, 238, 0.35);
}
.check-item.is-other {
  flex-wrap: wrap;
}
.check-item.is-other .other-input {
  width: 100%;
  margin-top: 8px;
  margin-left: 30px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 122, 232, 0.28);
  background: rgba(8, 6, 16, 0.75);
  color: var(--ink);
  font: 400 14px/1.3 var(--font-ui);
}
.check-item.is-other .other-input:disabled {
  opacity: 0.4;
}
.ack-list .check-item {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.28);
}
.sig-wrap {
  border: 1px solid rgba(255, 122, 232, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.97);
  overflow: hidden;
  touch-action: none;
}
.sig-wrap canvas {
  display: block;
  width: 100%;
  height: 160px;
  cursor: crosshair;
  touch-action: none;
}
.sig-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 10px;
}
.sig-hint {
  font-size: 12px;
  color: var(--stone);
}
.consent-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.consent-actions .btn-primary {
  width: 100%;
}
.consent-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.45;
  display: none;
}
.consent-status.is-info {
  display: block;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--neon-cyan-hi);
}
.consent-status.is-warn {
  display: block;
  background: rgba(255, 43, 214, 0.1);
  border: 1px solid rgba(255, 122, 232, 0.4);
  color: var(--neon-mag-hi);
}
.consent-status.is-ok {
  display: block;
  background: rgba(184, 255, 60, 0.1);
  border: 1px solid rgba(184, 255, 60, 0.35);
  color: #d4ff8a;
}
.consent-status.is-err {
  display: block;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.4);
  color: #ff8fa3;
}
.success-panel {
  text-align: center;
  padding: 12px 4px 8px;
}
.success-panel h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 10px 0 8px;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.success-panel p {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 10px;
}
.success-list {
  text-align: left;
  list-style: none;
  margin: 16px 0;
  padding: 0;
}
.success-list li {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: rgba(8, 6, 16, 0.55);
  border: 1px solid rgba(255, 122, 232, 0.2);
  font-size: 13px;
  line-height: 1.4;
}
.success-list .ok { color: #d4ff8a; }
.success-list .warn { color: var(--neon-mag-hi); }
.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.consent-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--stone);
}
.consent-nav a {
  color: var(--neon-cyan-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 14px;
}
@media (min-width: 520px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .consent-card { padding: 28px 26px 32px; }
  .sig-wrap canvas { height: 180px; }
}

/* Honeypot — invisible to people, tempting to bots */
.hp-field { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
