/* Signup page: two columns that fit one screen, styled like the marketing site
   (navy + cream, Inter, the plush/balloon shapes). Scoped to .su so the app's
   own style.css (loaded by the shared head partial) can't leak in. */
body.su-body { margin: 0; background: #FBF8F4; color: #17202E; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; }
.su { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 100vh; min-height: 100dvh; }
.su *, .su *::before, .su *::after { box-sizing: border-box; }

/* ---- left: brand panel ---- */
.su-brand { position: relative; overflow: hidden; background: #17202E; color: #fff; padding: 40px clamp(28px, 4vw, 64px); display: flex; flex-direction: column; }
.su-brand::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 20% 100%, rgba(26, 167, 224, .16), transparent 70%), radial-gradient(ellipse 70% 50% at 100% 0%, rgba(255, 92, 0, .16), transparent 70%); pointer-events: none; }
.su-logo { position: relative; z-index: 2; display: inline-block; }
.su-logo img { height: 34px; width: auto; display: block; }
.su-pitch { position: relative; z-index: 2; margin: auto 0; max-width: 440px; padding: 40px 0; }
.su-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FF7A2E; margin-bottom: 16px; }
.su-pitch h1 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin: 0 0 16px; color: #fff; }
.su-pitch h1 em { font-style: normal; color: #FF7A2E; }
.su-pitch p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .74); margin: 0 0 26px; }
.su-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.su-points li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; color: #fff; }
.su-points svg { flex-shrink: 0; color: #FF7A2E; }
.su-foot { position: relative; z-index: 2; text-align: right; font-size: 13px; color: rgba(255, 255, 255, .55); }

.su-shape { position: absolute; z-index: 1; height: auto; max-width: none; pointer-events: none; user-select: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); animation: su-float 9s ease-in-out infinite; }
.su-shape.slow { animation-duration: 13s; animation-delay: -4s; }
.su-shape.tip { width: clamp(130px, 13vw, 210px); top: 7%; right: -38px; transform: rotate(16deg); }
.su-shape.circle { width: clamp(120px, 12vw, 190px); bottom: -46px; left: -40px; }
.su-shape.tail { width: clamp(90px, 8vw, 130px); bottom: 15%; right: 9%; transform: rotate(-12deg); }
@keyframes su-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ---- right: form ---- */
.su-main { position: relative; display: flex; flex-direction: column; padding: 28px clamp(24px, 5vw, 72px); }
.su-top { display: flex; justify-content: flex-end; font-size: 14px; color: #55606F; }
.su-top a { color: #C74300; font-weight: 700; text-decoration: none; margin-left: 6px; }
.su-top a:hover { text-decoration: underline; }
.su-form-wrap { width: 100%; max-width: 600px; margin: auto; padding: 16px 0; }
.su-form-wrap h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; color: #17202E; }
.su-sub { font-size: 15px; color: #55606F; margin: 0 0 22px; }

.su-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
.su-alert.err { background: #FDECEA; color: #8A1C12; border: 1px solid #F5C2BC; }
.su-alert.ok { background: #E8F6EE; color: #17643A; border: 1px solid #B9E2C9; }

.su-label { display: block; font-size: 13px; font-weight: 600; color: #17202E; margin-bottom: 6px; }
.su-hint { font-size: 12.5px; color: #6B7482; margin: 6px 0 0; }
.su-hint strong { color: #17202E; font-weight: 600; }

.su-plans { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 10px; margin-bottom: 4px; }
.su-plan { position: relative; display: block; cursor: pointer; }
.su-plan input { position: absolute; opacity: 0; pointer-events: none; }
.su-plan span { display: block; height: 100%; padding: 12px 14px; background: #fff; border: 1.5px solid #E6DED2; border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.su-plan b { display: block; font-size: 14.5px; line-height: 1.3; font-weight: 700; color: #17202E; }
.su-plan small { display: block; font-size: 13px; color: #55606F; margin-top: 2px; }
.su-plan:hover span { border-color: #D7CCBC; }
.su-plan input:checked + span { border-color: #FF5C00; box-shadow: 0 0 0 3px rgba(255, 92, 0, .14); }
.su-plan input:focus-visible + span { outline: 2px solid #17202E; outline-offset: 2px; }
.su-plan-note { font-size: 12.5px; color: #6B7482; margin: 6px 0 18px; }

.su-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.su-field input { width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 15px; color: #17202E; background: #fff; border: 1.5px solid #E6DED2; border-radius: 10px; outline: none; transition: border-color .15s, box-shadow .15s; }
.su-field input::placeholder { color: #9AA1AC; }
.su-field input:focus { border-color: #FF5C00; box-shadow: 0 0 0 3px rgba(255, 92, 0, .14); }

.su-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; margin-top: 22px; border: 0; border-radius: 999px; background: #FF5C00; color: #fff; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 28px -12px rgba(255, 92, 0, .75); transition: background .15s, transform .15s; }
.su-submit:hover { background: #FF7A2E; }
.su-submit:active { transform: scale(.99); }
.su-legal { font-size: 12.5px; color: #6B7482; text-align: center; margin: 12px 0 0; }
.su-legal a { color: #55606F; }

/* ---- short desktop screens: tighten so it still fits ---- */
@media (min-width: 901px) and (max-height: 760px) {
  .su-main { padding-top: 14px; padding-bottom: 14px; }
  .su-form-wrap { padding: 4px 0; }
  .su-form-wrap h2 { font-size: 1.6rem; }
  .su-sub { margin-bottom: 14px; }
  .su-plan span { padding: 10px 12px; }
  .su-plan-note { margin-bottom: 12px; }
  .su-grid { gap: 10px 16px; }
  .su-field input { height: 42px; }
  .su-submit { height: 50px; margin-top: 16px; }
  .su-pitch p { margin-bottom: 18px; }
}

/* ---- tablet / phone: stack, brand panel becomes a short band ---- */
@media (max-width: 900px) {
  .su { grid-template-columns: 1fr; }
  .su-brand { padding: 24px 20px 30px; }
  .su-pitch { margin: 0; padding: 26px 0 0; max-width: 520px; }
  .su-pitch h1 { font-size: 2rem; }
  .su-pitch p { font-size: 15.5px; margin-bottom: 18px; }
  .su-foot { display: none; }
  .su-shape.tip { width: 104px; top: -14px; right: -22px; }
  .su-shape.circle { width: 92px; bottom: -46px; left: auto; right: -26px; }
  .su-shape.tail { display: none; }
  .su-main { padding: 18px 20px 36px; }
  .su-top { justify-content: center; order: 3; margin-top: 22px; }
  .su-form-wrap { margin: 0 auto; padding-top: 8px; }
}
@media (max-width: 560px) {
  .su-grid { grid-template-columns: 1fr; }
  .su-plans { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .su-points li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .su-shape { animation: none; } }
