/* Signup pages (ADR-162). The shape of the app's own signup forms (white card, soft shadow, grey-bordered fields, a caret on
   every dropdown) in the marketing site's brand blue. Colours come from the site's tokens so dark mode follows the toggle.
   Approved mockups: docs/ui-ux/marketing-signup-forms-mockups.html. */
.su-stage { background: var(--sv-gray-50, #f9fafb); padding: 28px 16px 64px; }
.su-wrap { max-width: 640px; margin: 0 auto; }
.su-wrap.wide { max-width: 720px; }
.su-card { background: var(--sv-surface, #fff); color: var(--sv-gray-900, #111827); border-radius: 8px; padding: 24px; margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.su-card h2 { margin: 0 0 14px; font-size: 1.125rem; font-weight: 600; }
.su-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .su-row { grid-template-columns: 1fr; } }
.su-field { margin-bottom: 16px; }
.su-field label { display: block; font-size: .875rem; font-weight: 500; color: var(--sv-gray-700, #374151); margin-bottom: 4px; }
.su-field input[type=text], .su-field input[type=tel], .su-field input[type=email], .su-field input[type=password], .su-field select {
  display: block; width: 100%; box-sizing: border-box; padding: 8px 16px; min-height: 40px; font: inherit; font-size: .95rem;
  background-color: var(--sv-surface, #fff); color: var(--sv-gray-900, #111827);
  border: 1px solid var(--sv-gray-300, #d1d5db); border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.su-field input::placeholder { color: var(--sv-gray-400, #9ca3af); }
.su-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center; background-repeat: no-repeat; background-size: 1.25em; }
.su-field select option { color: #111827; background: #fff; }
.su-field input:focus, .su-field select:focus { outline: none; border-color: #1d4ed8; box-shadow: 0 0 0 1px #1d4ed8; }
.su-opt { font-weight: 400; color: var(--sv-gray-400, #9ca3af); }
.su-check { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--sv-gray-700, #374151); margin-bottom: 12px; }
.su-check input { width: 1rem; height: 1rem; margin-top: 3px; flex-shrink: 0; accent-color: #1d4ed8; }
.su-check a, .su-foot a, .su-planlink { color: #1d4ed8; }
.su-textbox { display: block; padding: 12px; border: 1px solid rgba(29,78,216,.25); background: rgba(29,78,216,.07); border-radius: 6px; margin: 4px 0 16px; }
.su-hint { display: block; font-size: .78rem; color: var(--sv-gray-500, #6b7280); margin-top: 4px; }
.su-errors { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 6px; padding: 12px 16px; margin-bottom: 16px; font-size: .9rem; }
.su-errors p { margin: 2px 0; }
.su-note { background: var(--sv-gray-100, #f3f4f6); border-radius: 6px; padding: 10px 12px; font-size: .85rem; color: var(--sv-gray-700, #374151); margin: 0 0 14px; }
.su-captcha-title { display: block; font-size: .9rem; font-weight: 600; margin: 24px 0 10px; text-align: center; }
#su-captcha, #sp-captcha { display: flex; justify-content: center; margin-bottom: 24px; }
.su-submit { display: block; width: 100%; padding: 9px 16px; border-radius: 8px; border: 0; font: inherit; font-weight: 500; cursor: pointer; background: #1d4ed8; color: #fff; }
.su-submit:hover { background: #1e40af; }
.su-submit:disabled { opacity: .6; cursor: wait; }
.su-after { font-size: .875rem; font-style: italic; color: var(--sv-gray-600, #4b5563); margin: 16px 0 0; }
.su-foot { text-align: center; font-size: .875rem; color: var(--sv-gray-600, #4b5563); margin-top: 18px; }
.su-foot a { font-weight: 500; }
.su-sec { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.su-planlink { font-size: .875rem; font-weight: 500; text-decoration: none; }
.su-planlink:hover { text-decoration: underline; }

/* provider plan cards */
.sp-plan { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--sv-gray-300, #d1d5db); border-radius: 8px; margin-bottom: 10px; cursor: pointer; }
.sp-plan:has(input:checked) { border: 2px solid #3b82f6; background: rgba(59,130,246,.08); padding: 13px; }
.sp-plan input { margin-top: 4px; accent-color: #1d4ed8; }
.sp-plan small { display: block; color: var(--sv-gray-500, #6b7280); margin-top: 2px; }

/* chooser (/signup) */
.sc-wrap { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .sc-wrap { grid-template-columns: 1fr; } }
.sc-card { background: var(--sv-surface, #fff); color: var(--sv-gray-900, #111827); border-radius: 8px; padding: 22px; border: 2px solid var(--sv-gray-200, #e5e7eb);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); text-align: center; display: flex; flex-direction: column; }
.sc-icon { width: 56px; height: 56px; border-radius: 9999px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.sc-icon svg { width: 28px; height: 28px; }
.sc-icon.prov { background: #dcfce7; color: #16a34a; } .sc-icon.cust { background: #dbeafe; color: #1d4ed8; }
.sc-card h2 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 600; }
.sc-card p { flex-grow: 1; margin: 0 0 12px; font-size: .85rem; color: var(--sv-gray-600, #4b5563); }
.sc-card ul { list-style: none; padding: 0; margin: 0 0 16px; text-align: left; font-size: .85rem; }
.sc-card li { margin: 6px 0; padding-left: 22px; position: relative; }
.sc-card li::before { content: ""; position: absolute; left: 0; top: .3em; width: 12px; height: 7px; border: solid #22c55e; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.sc-btn { margin-top: auto; display: block; padding: 9px; border-radius: 8px; background: #1d4ed8; color: #fff; font-weight: 500; font-size: .9rem; text-decoration: none; }
.sc-btn:hover { background: #1e40af; }

/* sections inside the one provider card */
form.su-card > section + section { border-top: 1px solid var(--sv-gray-200, #e5e7eb); margin-top: 22px; padding-top: 18px; }
