/* Organization sign-up: one question per screen with sliding transitions. */
.su-body { margin: 0; min-height: 100vh; background: #f4f8ff; color: #0b1f4d; overflow-x: hidden; }
.su-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.su-bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45; animation: su-float 18s ease-in-out infinite alternate; }
.su-bg span:nth-child(1) { width: 520px; height: 520px; background: #3b82f6; top: -160px; left: -120px; }
.su-bg span:nth-child(2) { width: 460px; height: 460px; background: #14b8a6; bottom: -180px; right: -100px; animation-delay: -6s; }
.su-bg span:nth-child(3) { width: 300px; height: 300px; background: #84cc16; top: 40%; left: 55%; opacity: 0.25; animation-delay: -12s; }
@keyframes su-float { to { transform: translate(60px, 40px) scale(1.1); } }

.su-top { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 28px; backdrop-filter: blur(8px); background: rgba(255, 255, 255, 0.55); }
.su-logo { height: 34px; display: block; }
.su-signin { color: #0b1f4d; text-decoration: none; font-size: 0.92rem; }
.su-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(11, 31, 77, 0.08); }
.su-progress div { height: 100%; width: 0; background: linear-gradient(90deg, #1d4ed8, #0ea5a4, #65a30d); transition: width 0.5s cubic-bezier(.2, .8, .2, 1); }

.su-form { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 110px 28px 120px; }
.su-step { margin-bottom: 64px; }
.su-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* With JavaScript: one step fills the screen and slides in. */
.su-js .su-form { min-height: 100vh; display: grid; align-content: center; padding-top: 90px; padding-bottom: 90px; }
.su-js .su-step { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(70px); transition: transform 0.55s cubic-bezier(.2, .8, .2, 1), opacity 0.4s ease, visibility 0s linear 0.55s; }
.su-js .su-step.is-before { transform: translateY(-70px); }
.su-js .su-step.is-active { opacity: 1; visibility: visible; transform: none; transition: transform 0.55s cubic-bezier(.2, .8, .2, 1), opacity 0.45s ease 0.08s, visibility 0s; }

.su-intro { text-align: center; }
.su-hero { width: 210px; max-width: 60vw; margin-bottom: 18px; animation: su-pop 0.9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes su-pop { from { transform: scale(0.85) translateY(10px); opacity: 0; } }
.su-intro h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 12px; letter-spacing: -0.02em; background: linear-gradient(90deg, #0b2a63, #0e7fa8 60%, #3f9b2f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.su-lead { font-size: 1.12rem; color: #3a4a6b; max-width: 560px; margin: 0 auto 26px; }
.su-hint { color: #6a7896; font-size: 0.85rem; margin-top: 12px; }
kbd { font-family: inherit; font-size: 0.75rem; border: 1px solid rgba(11, 31, 77, 0.25); border-radius: 4px; padding: 1px 6px; background: #fff; }

.su-num { color: #0e7fa8; font-weight: 700; margin: 0 0 6px; font-size: 0.95rem; }
.su-q { display: block; font-size: clamp(1.35rem, 3.2vw, 1.85rem); font-weight: 600; line-height: 1.3; margin: 0 0 8px; color: #0b1f4d; }
.su-q small { font-size: 0.55em; color: #6a7896; font-weight: 500; }
.su-sub { display: block; color: #52617f; font-size: 1rem; margin: 0 0 14px; font-weight: 400; }
.su-step input[type="text"], .su-step input:not([type]), .su-step input[type="email"], .su-step input[type="tel"], .su-step input[type="password"] {
  width: 100%; border: 0; border-bottom: 2px solid rgba(11, 42, 99, 0.25); border-radius: 0; background: transparent; font-size: clamp(1.15rem, 2.6vw, 1.5rem); padding: 10px 2px; color: #0b2a63; outline: none; transition: border-color 0.2s;
}
.su-step input:focus { border-bottom-color: #0e7fa8; outline: none; }
.su-step input::placeholder { color: rgba(11, 42, 99, 0.35); }
.su-step input + input, .su-step .su-meter + label { margin-top: 18px; }
.su-slug { display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; }
.su-slug span { color: #52617f; font-size: 1.05rem; }
.su-slug input { flex: 1; min-width: 160px; }
.su-ok { color: #15803d !important; }
.su-bad { color: #b91c1c !important; }
.su-meter { height: 4px; background: rgba(11, 31, 77, 0.08); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.su-meter div { height: 100%; width: 0; background: #ef4444; transition: width 0.3s, background 0.3s; }

.su-choices { display: grid; gap: 10px; max-width: 460px; margin-top: 14px; }
.su-choice { display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid rgba(11, 42, 99, 0.2); border-radius: 10px; background: rgba(255, 255, 255, 0.7); font-size: 1.05rem; font-weight: 500; cursor: pointer; transition: transform 0.15s, border-color 0.15s, background 0.15s; }
.su-choice:hover { border-color: #0e7fa8; transform: translateX(3px); }
.su-choice input { position: absolute; opacity: 0; pointer-events: none; }
.su-choice:has(input:checked) { border-color: #0e7fa8; background: rgba(14, 127, 168, 0.1); }
.su-choice:has(input:checked) kbd { background: #0e7fa8; color: #fff; border-color: #0e7fa8; }
.su-choice:has(input:focus-visible) { outline: 2px solid #0e7fa8; outline-offset: 2px; }
.su-choice.blink { animation: su-blink 0.35s 2; }
@keyframes su-blink { 50% { background: rgba(14, 127, 168, 0.25); } }

.su-perks { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 8px; }
.su-perks li { padding-left: 28px; position: relative; color: #3a4a6b; }
.su-perks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: #15803d; font-size: 0.75rem; display: grid; place-items: center; font-weight: 700; }
.su-check { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; font-weight: 400; color: #3a4a6b; max-width: 560px; }
.su-check input { margin-top: 4px; width: 18px; height: 18px; }

.su-terms { max-height: 34vh; overflow-y: auto; margin: 6px 0 10px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.85); border: 1.5px solid rgba(11, 42, 99, 0.18); font-size: 0.86rem; line-height: 1.55; color: #334155; overscroll-behavior: contain; }
.su-terms:focus-visible { outline: 2px solid #0e7fa8; outline-offset: 2px; }
.su-terms.is-read { border-color: #16a34a; }
.su-terms h2 { font-size: 1.05rem; margin: 0 0 4px; color: #0b1f4d; }
.su-terms h3 { font-size: 0.92rem; margin: 14px 0 4px; color: #0b2a63; }
.su-terms p, .su-terms ul { margin: 4px 0; }
.su-terms ul { padding-left: 18px; }
.su-terms-hint { margin: 0 0 8px; font-size: 0.85rem; color: #b45309; }
.su-check input:disabled { opacity: 0.4; }
.su-actions { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.su-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 8px; padding: 12px 22px; font: inherit; font-weight: 700; font-size: 1.05rem; color: #fff; cursor: pointer; background: linear-gradient(90deg, #1d4ed8, #0e7fa8); box-shadow: 0 8px 20px -8px rgba(14, 127, 168, 0.7); transition: transform 0.15s, box-shadow 0.15s; }
.su-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(14, 127, 168, 0.8); }
.su-btn:disabled { opacity: 0.6; cursor: wait; }
.su-error { color: #b91c1c; background: #fef2f2; border-radius: 6px; padding: 6px 10px; margin: 10px 0 0; display: inline-block; font-size: 0.95rem; }
.su-shake { animation: su-shake 0.4s; }
@keyframes su-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.su-nav { display: none; }
.su-js .su-nav { display: flex; position: fixed; right: 24px; bottom: 24px; z-index: 5; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 18px -6px rgba(11, 31, 77, 0.4); }
.su-arrow { border: 0; background: linear-gradient(90deg, #1d4ed8, #0e7fa8); color: #fff; width: 44px; height: 40px; font-size: 1.1rem; cursor: pointer; }
.su-arrow + .su-arrow { border-left: 1px solid rgba(255, 255, 255, 0.3); }
.su-arrow:disabled { opacity: 0.45; cursor: default; }

@media (max-width: 600px) {
  .su-top { padding: 10px 16px; }
  .su-signin { font-size: 0.8rem; }
  .su-logo { height: 26px; }
  .su-form, .su-js .su-form { padding: 80px 18px 100px; }
  [data-step="terms"] .su-perks { display: none; }
  .su-terms { max-height: 40vh; font-size: 0.82rem; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .su-js .su-step, .su-js .su-step.is-active, .su-bg span, .su-hero { transition: none; animation: none; }
}

/* Individual or organization: show only the wording that fits the choice. */
.su-form.is-ind [data-org], .su-form:not(.is-ind) [data-ind] { display: none; }
.su-js .su-form.is-ind .su-step[data-org] { display: none; }
.su-choice span small { display: block; font-size: 0.85rem; color: #51607e; font-weight: 400; margin-top: 2px; }
