/* Signup (/signup), loaded after /styles.css. Scoped under body.signup-page and the page's own su-*
   classes; it only changes what the shared stylesheet gives this page (2026-09-22, the LakehouseBox
   mockup: slim header, illustration left, one white card right, slim footer). signup.js is untouched:
   every id, .stage/.on, .handle/.pre/.taken/.free, .hidden and .mailfrom keep their meaning. */

/* header: brand left, "Log in" right, no menu (nav.js is not loaded) */
.su-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; min-height: 72px; margin-bottom: 44px; flex-wrap: wrap; }
.su-login { margin: 0; font-size: 16px; color: var(--ink-soft); }
.su-login a { display: inline-block; padding: 10px 0; color: var(--accent); font-weight: 500; border-bottom: 0; }
.su-login a:hover { color: var(--accent-deep); }

/* the two columns */
body.signup-page .signup { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 64px; }
body.signup-page .signup-left { padding-top: 28px; }
body.signup-page .eyebrow { color: var(--muted); letter-spacing: .22em; margin-bottom: 22px; }
body.signup-page .signup h1 { font-size: clamp(44px, 5.4vw, 76px); font-weight: 500; line-height: 1.02; letter-spacing: -.03em; margin: 0 0 22px; text-wrap: balance; }
body.signup-page h1 em { font-style: italic; color: var(--accent); }
body.signup-page .signup-left .sub { font-family: var(--sans); font-size: 21px; line-height: 1.45; color: var(--ink-soft); margin: 0 0 8px; max-width: 30ch; }
.su-art { display: block; width: min(100%, 560px); margin: 0 auto 8px; }
.su-art img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; }

/* the three checks: one row, orange marks */
.su-checks { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0 0 28px; }
body.signup-page .su-checks li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15.5px; color: var(--ink); }
body.signup-page .su-checks .chk { background: var(--accent); margin: 0; flex: none; }
.su-selfhost { border-top: 1px solid var(--rule); padding-top: 22px; margin: 0; font-size: 16px; color: var(--ink-soft); }
.su-selfhost a { display: inline-block; padding: 8px 0; color: var(--accent); font-weight: 500; border-bottom: 0; }

/* the card: one white box; the stages inside lose their own card chrome and keep the shared form rules */
.su-card { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 34px 36px 30px; box-shadow: 0 18px 50px rgba(26, 25, 23, .06), 0 1px 3px rgba(26, 25, 23, .05); }
body.signup-page .card-form { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.su-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.su-steps li { display: inline-flex; align-items: center; }
.su-steps li + li::before { content: "/"; margin: 0 12px; color: var(--rule); }
.su-steps li[aria-current="step"] { color: var(--ink); font-weight: 500; }
.su-steps .n { margin-right: 6px; }
body.signup-page .card-form h2 { font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 10px; }
body.signup-page .card-form .sub { font-family: var(--sans); font-size: 18px; color: var(--ink-soft); margin: 0 0 26px; }
body.signup-page .field { margin-bottom: 20px; }
body.signup-page .field label { font-size: 15.5px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
body.signup-page .field input, body.signup-page .card-form select { min-height: 48px; border-radius: 8px; border-color: #d9d2c8; }
body.signup-page .field input::placeholder { color: #a39b93; }
body.signup-page .field .hint { font-size: 13.5px; line-height: 1.45; margin-top: 7px; }
body.signup-page .pair { gap: 16px; }
body.signup-page .pair .field { margin-bottom: 20px; }
/* the account address: a grey row, the prefix and the input reading as one line */
body.signup-page .handle { background: var(--bg-soft); border-radius: 8px; border-color: #d9d2c8; min-height: 48px; }
body.signup-page .handle .pre { font-size: 14px; color: var(--ink-soft); padding-left: 16px; }
body.signup-page .handle input { background: transparent; font-size: 15px; min-height: 46px; }
body.signup-page .handle.taken { border-color: var(--accent); background: var(--tint); }
body.signup-page .handle.free { border-color: var(--ok); background: #eef8f1; }
/* the Terms box: a 44px target around a 20px box; the browser refuses the form until it is ticked */
.su-terms { margin: 4px 0 18px; }
.su-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; font-size: 16px; color: var(--ink); line-height: 1.45; }
.su-check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); cursor: pointer; }
.su-check a, .su-terms .hint a { border-bottom: 1px solid var(--ink); }
.su-terms .hint { font-size: 13.5px; color: var(--muted); margin: 2px 0 0 32px; line-height: 1.45; }
body.signup-page .card-form .btn { background: var(--accent); font-family: var(--sans); font-size: 17.5px; font-weight: 600; min-height: 56px; border-radius: 9px; margin-top: 0; }
body.signup-page .card-form .btn:hover { background: var(--accent-deep); }
body.signup-page .card-form .nocard { margin: 14px 0 20px; font-size: 14.5px; }
.su-cli { margin: 0 0 6px; }
.su-cli code { font-size: 13px; }
body.signup-page .selfhosted-api { margin-top: 10px; }
body.signup-page .selfhosted-api .field input { min-height: 44px; }

/* footer: one line */
.su-foot { margin-top: 64px; padding: 24px 0 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.su-foot p { margin: 0; }
.su-foot ul { justify-content: flex-end; gap: 6px 22px; }
.su-foot ul a { padding: 10px 0; }
.su-foot ul a:hover { color: var(--ink); }

@media (max-width: 1100px) {
  body.signup-page .signup { gap: 40px; }
  .su-card { padding: 28px 26px 24px; }
}
@media (max-width: 900px) {
  /* one column, the form first; the illustration and the promise follow */
  body.signup-page .signup { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  body.signup-page .signup-right { order: -1; }
  body.signup-page .signup-left { padding-top: 0; }
  .su-head { margin-bottom: 28px; }
  .su-art { width: min(100%, 440px); }
  .su-foot { margin-top: 48px; }
}
@media (max-width: 640px) {
  .su-card { padding: 22px 18px 20px; }
  body.signup-page .pair { grid-template-columns: 1fr; gap: 0; }
  body.signup-page .signup-left .sub { font-size: 20px; }
  .su-checks { flex-direction: column; gap: 12px; }
  .su-login { font-size: 15px; }
  .su-foot { justify-content: center; text-align: center; }
  .su-foot ul { justify-content: center; }
}
