
    * { box-sizing: border-box; }
    body {
      margin: 0;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background: var(--bone, #FBF8F0);
      color: var(--ink, #111);
      font-family: var(--sans, 'Satoshi', system-ui, sans-serif);
    }
    /* Top bar: brand on the left, language switcher on the right. */
    .login-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 18px clamp(20px, 4vw, 48px);
    }
    .login-topbar .logo { text-decoration: none; color: inherit; }
    .login-main {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px 24px 64px;
    }

    .login-card {
      background: var(--paper, #FEFCF8);
      padding: 40px;
      border: 2px solid var(--ink, #111);
      border-radius: 6px;
      max-width: 460px;
      width: 100%;
      box-shadow: 8px 8px 0 var(--ink, #111);
    }
    .login-card h1 {
      margin: 0 0 6px;
      font-size: 24px;
      font-weight: 600;
      color: var(--ink, #111);
      font-family: var(--disp, 'Clash Display', sans-serif);
      letter-spacing: -.01em;
    }
    .subtitle { margin: 0 0 22px; font-size: 14px; color: var(--text-muted, #56544a); line-height: 1.55; }

    /* Step indicator */
    .step-indicator { display: flex; gap: 6px; margin-bottom: 24px; justify-content: center; }
    .step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2, rgba(17,17,17,0.30)); transition: background .3s; }
    .step-dot.active { background: var(--green, #30B078); }
    .step-dot.done { background: var(--green-3, #23925F); }

    .step { display: none; }
    .step.active { display: block; }

    /* Fields */
    .form-group { margin-bottom: 16px; }
    .form-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--ink, #111); }
    .input {
      width: 100%;
      padding: 11px 14px;
      border: 1.5px solid var(--line-2, rgba(17,17,17,0.30));
      border-radius: 6px;
      font-size: 14px;
      font-family: inherit;
      background: var(--bone, #FBF8F0);
      color: var(--ink, #111);
      transition: border-color .18s;
    }
    .input:focus { outline: none; border-color: var(--green, #30B078); }
    .input::placeholder { color: var(--text-soft, #8a877a); }

    /* Buttons */
    .btn {
      width: 100%;
      padding: 12px;
      border-radius: 6px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      transition: transform .14s, box-shadow .14s, background .14s, color .14s;
      text-decoration: none;
    }
    .btn-primary { background: var(--green, #30B078); color: var(--lime-ink, #06231A); border: 1.5px solid var(--ink, #111); }
    .btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink, #111); }
    .btn-secondary { background: transparent; color: var(--ink, #111); border: 1.5px solid var(--line-2, rgba(17,17,17,0.30)); margin-top: 10px; }
    .btn-secondary:hover { background: var(--ink, #111); color: var(--bone, #FBF8F0); }
    .btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

    /* Alerts */
    .alert { padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; display: none; }
    .alert-error { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }
    .alert-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #15803D; }

    /* Password rules */
    .rule { font-size: 12px; display: flex; align-items: center; gap: 5px; margin-top: 3px; }
    .rule.pass { color: var(--green-3, #23925F); }
    .rule.fail { color: var(--text-soft, #8a877a); }

    /* Verification code inputs */
    .code-inputs { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; }
    .code-input {
      width: 46px; height: 54px; text-align: center;
      font-size: 22px; font-weight: 700;
      border: 1.5px solid var(--line-2, rgba(17,17,17,0.30)); border-radius: 6px;
      background: var(--bone, #FBF8F0); color: var(--ink, #111);
      font-family: var(--disp, 'Clash Display', sans-serif);
    }
    .code-input:focus { outline: none; border-color: var(--green, #30B078); }

    /* Success */
    .success-icon { text-align: center; margin-bottom: 16px; }
    .success-icon svg { width: 56px; height: 56px; stroke: var(--green, #30B078); fill: none; }

    .back-link { text-align: center; margin-top: 20px; font-size: 13px; }
    .back-link a { color: var(--green, #30B078); text-decoration: none; font-weight: 500; }
